From f647fc4f26c4bf01192b40eaee560c94cc497159 Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 11 Sep 2007 21:37:42 +0000 Subject: 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 --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.inc.php') 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').' ) ;'; -- cgit v1.2.3