Completed
Push — master ( 6f0ecc...f66e60 )
by Angus
03:04
created
application/models/Tracker/Tracker_Tag_Model.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@  discard block
 block discarded – undo
9 9
 		$success = FALSE;
10 10
 		if(preg_match("/^[a-z0-9\\-_,:]{0,255}$/", $tag_string)) {
11 11
 			$success = (bool) $this->db->set(['tags' => $tag_string, 'active' => 'Y', 'last_updated' => NULL])
12
-			                           ->where('user_id', $userID)
13
-			                           ->where('id', $chapterID)
14
-			                           ->update('tracker_chapters');
12
+									   ->where('user_id', $userID)
13
+									   ->where('id', $chapterID)
14
+									   ->update('tracker_chapters');
15 15
 		}
16 16
 
17 17
 		if($success) {
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 
24 24
 	public function getMalID(int $userID, int $titleID) : ?int {
25 25
 		$query = $this->db->select('tags')
26
-		                    ->where('user_id', $userID)
27
-		                    ->where('title_id', $titleID)
28
-		                    ->get('tracker_chapters');
26
+							->where('user_id', $userID)
27
+							->where('title_id', $titleID)
28
+							->get('tracker_chapters');
29 29
 
30 30
 		$malID = NULL;
31 31
 		if($query->num_rows() > 0 && ($tag_string = $query->row()->tags) && !is_null($tag_string)) {
Please login to merge, or discard this patch.