| @@ -190,16 +190,16 @@ | ||
| 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 | //} |