Skip to content

Commit 9106536

Browse files
committed
minor
1 parent 913215f commit 9106536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/tags_manager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ public function is_enabled_in_all_forums()
771771
AND forum_type = ' . FORUM_POST,
772772
);
773773
$sql = $this->db->sql_build_query('SELECT', $sql_array);
774-
$this->db->sql_query($sql);
774+
$result = $this->db->sql_query($sql);
775775
$enabled = ((int) $this->db->sql_fetchfield('all_enabled')) == 0;
776776
$this->db->sql_freeresult($result);
777777
return $enabled;
@@ -794,7 +794,7 @@ public function is_disabled_in_all_forums()
794794
AND forum_type = ' . FORUM_POST,
795795
);
796796
$sql = $this->db->sql_build_query('SELECT', $sql_array);
797-
$this->db->sql_query($sql);
797+
$result = $this->db->sql_query($sql);
798798
$disabled = ((int) $this->db->sql_fetchfield('all_disabled')) == 0;
799799
$this->db->sql_freeresult($result);
800800
return $disabled;

0 commit comments

Comments
 (0)