merge -r1330:1331 from trunk to branch 1.6 (bug 378 fixed).

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1332 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2006-05-31 21:46:26 +00:00
parent fe106bd3da
commit b3e331dc28
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ $user['forbidden_categories'] = calculate_permissions($user['id'],
$user['status']);
if ('' == $user['forbidden_categories'])
{
$user['forbidden_categories'] = '-1';
$user['forbidden_categories'] = '0';
}
list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();'));