aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-02-27 22:00:13 +0000
committerrub <rub@piwigo.org>2008-02-27 22:00:13 +0000
commitaed45457d79401bea60b556456ffc36dd7df889f (patch)
tree59081639f4781f7b1c6fbe9aaa8ae6cf58e908a7 /include/functions.inc.php
parentbf4012291a878c3f22fa318595e2ca7881c2978a (diff)
little corrections
Merge branch-1_7 2219:2220 into BSF git-svn-id: http://piwigo.org/svn/trunk@2221 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 243f2481b..41124f782 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -608,7 +608,7 @@ INSERT INTO '.HISTORY_TABLE.'
'.$user['id'].',
\''.$_SERVER['REMOTE_ADDR'].'\',
'.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
- '.(isset($page['category']) ? $page['category']['id'] : 'NULL').',
+ '.(isset($page['category']['id']) ? $page['category']['id'] : 'NULL').',
'.(isset($image_id) ? $image_id : 'NULL').',
'.(isset($image_type) ? "'".$image_type."'" : 'NULL').',
'.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'