File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ public function is_enabled_in_all_forums()
771
771
AND forum_type = ' . FORUM_POST ,
772
772
);
773
773
$ sql = $ this ->db ->sql_build_query ('SELECT ' , $ sql_array );
774
- $ this ->db ->sql_query ($ sql );
774
+ $ result = $ this ->db ->sql_query ($ sql );
775
775
$ enabled = ((int ) $ this ->db ->sql_fetchfield ('all_enabled ' )) == 0 ;
776
776
$ this ->db ->sql_freeresult ($ result );
777
777
return $ enabled ;
@@ -794,7 +794,7 @@ public function is_disabled_in_all_forums()
794
794
AND forum_type = ' . FORUM_POST ,
795
795
);
796
796
$ sql = $ this ->db ->sql_build_query ('SELECT ' , $ sql_array );
797
- $ this ->db ->sql_query ($ sql );
797
+ $ result = $ this ->db ->sql_query ($ sql );
798
798
$ disabled = ((int ) $ this ->db ->sql_fetchfield ('all_disabled ' )) == 0 ;
799
799
$ this ->db ->sql_freeresult ($ result );
800
800
return $ disabled ;
You can’t perform that action at this time.
0 commit comments