aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-09-11 21:36:02 +0000
committerrub <rub@piwigo.org>2007-09-11 21:36:02 +0000
commit160fdcf517c4ac3fad9d9c914abeaaa65e791428 (patch)
treeadb228764fcd42ffd1ca273e34c83f4d53b1ce4f
parentfad95e65226c2e8f19f32a23c0e55219e21c782c (diff)
Resolved 0000744: pwg_log: image_type is always null
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2085 68402e56-0260-453c-a942-63ccdbb3a9ee
-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 1ced5e435..b120cd0a6 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -489,7 +489,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').'
)
;';