aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 41c97d0bb..4d755c445 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -298,7 +298,7 @@ SELECT ui.*, uc.*, t.name AS theme_name
LEFT JOIN '.THEMES_TABLE.' AS t ON t.id = ui.theme
WHERE ui.user_id = \''.$user_id.'\'';
$result = pwg_query($query);
- if (pwg_db_num_rows($result) > 0)
+ if ($result)
{
break;
}