aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-09-11 21:37:42 +0000
committerrub <rub@piwigo.org>2007-09-11 21:37:42 +0000
commitf647fc4f26c4bf01192b40eaee560c94cc497159 (patch)
treef7068eefed1255a8332d273dd609cbdd2bb0f389 /include
parent92f80e5d799aa7fef5f00cbf5c27e32f92c4b2ea (diff)
Resolved 0000744: pwg_log: image_type is always null
Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2086 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 ebd657e59..310380ca9 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -490,7 +490,7 @@ INSERT INTO '.HISTORY_TABLE.'
'.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
'.(isset($page['category']) ? $page['category']['id'] : 'NULL').',
'.(isset($image_id) ? $image_id : 'NULL').',
- '.(isset($image_id) ? "'".$image_type."'" : 'NULL').',
+ '.(isset($image_type) ? "'".$image_type."'" : 'NULL').',
'.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'
)
;';