diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-24 22:57:36 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-24 22:57:36 +0000 |
commit | e39dc7c0ab3aef034bd5b8720b2b7ea1a21f96a7 (patch) | |
tree | e76950d656d2d9ce47c96bcd9ca726297b6baebc /include/functions_category.inc.php | |
parent | c882b2691591950624a6553811fdeda91aa50b04 (diff) |
Php Warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@319 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r-- | include/functions_category.inc.php | 2 |
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']; } |