Completed
Pull Request — master (#27)
by George
03:00
created
src/Views/Stats/StatsJsonView.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,8 +105,7 @@
 block discarded – undo
105 105
 							}
106 106
 
107 107
 							${$source}['unknown']++;
108
-						}
109
-						else
108
+						} else
110 109
 						{
111 110
 							if (!isset(${$source}[$item[$source]]))
112 111
 							{
Please login to merge, or discard this patch.
src/Models/StatsModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 			return $db->setQuery(
49 49
 				$db->getQuery(true)
50 50
 					->select('*')
51
-					->from('#__jstats_counter_' . $column)
51
+					->from('#__jstats_counter_'.$column)
52 52
 			)->loadAssocList($column);
53 53
 		}
54 54
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 			$db->getQuery(true)
118 118
 				->select('unique_id')
119 119
 				->from('#__jstats')
120
-				->where('unique_id = ' . $db->quote($data->unique_id))
120
+				->where('unique_id = '.$db->quote($data->unique_id))
121 121
 		)->loadResult();
122 122
 
123 123
 		if ($recordExists)
Please login to merge, or discard this patch.