Completed
Push — master ( 8c3ec6...fb1626 )
by Angus
09:07
created
application/models/User_Options_Model.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -190,16 +190,16 @@
 block discarded – undo
190 190
 		//FIXME: Query duplication.
191 191
 		if($this->User->id !== $userID) {
192 192
 			$query = $this->db->select("options->\"$.{$option}\" AS value", FALSE)
193
-			                  ->from('auth_users')
194
-			                  ->where('id', $userID)
195
-			                  ->limit(1);
193
+							  ->from('auth_users')
194
+							  ->where('id', $userID)
195
+							  ->limit(1);
196 196
 			$data = $query->get()->row_object();
197 197
 		} else {
198 198
 			//if(!($data = $this->session->tempdata("option_{$option}"))) {
199 199
 				$query = $this->db->select("options->\"$.{$option}\" AS value", FALSE)
200
-				                  ->from('auth_users')
201
-				                  ->where('id', $userID)
202
-				                  ->limit(1);
200
+								  ->from('auth_users')
201
+								  ->where('id', $userID)
202
+								  ->limit(1);
203 203
 				$data = $query->get()->row_object();
204 204
 				$this->session->set_tempdata("option_{$option}", $data, 3600);
205 205
 			//}
Please login to merge, or discard this patch.