aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r--include/functions_category.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 5dc9c6018..beacda9e1 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -237,6 +237,8 @@ function count_user_total_images()
$row = mysql_fetch_array( mysql_query( $query ) );
+ if ( !isset( $row['total'] ) ) $row['total'] = 0;
+
return $row['total'];
}