[dev] Bug in whups-upgrade 2004-12-18_log_value_num.php (patch)

Oliver Kuhl okuhl at netcologne.de
Wed Dec 22 22:49:28 PST 2004


Hi,

there's a little typo in 
whups/scripts/upgrades/2004-12-18_log_value_num.php. Here comes the patch...

Gruss,
     Ollie.
-------------- next part --------------
Index: 2004-12-18_log_value_num.php
===================================================================
RCS file: /repository/whups/scripts/upgrades/2004-12-18_log_value_num.php,v
retrieving revision 1.1
diff -u -r1.1 2004-12-18_log_value_num.php
--- 2004-12-18_log_value_num.php        18 Dec 2004 15:33:00 -0000      1.1
+++ 2004-12-18_log_value_num.php        23 Dec 2004 06:24:10 -0000
@@ -77,7 +77,7 @@
     foreach ($entries as $entry) {
         $query = 'UPDATE whups_logs SET log_value_num = ' .
             (int)$entry['log_value'] .
-            'WHERE log_id = ' . $entry['log_id'];
+            ' WHERE log_id = ' . $entry['log_id'];
         $result = fquery($query);
     }
 }


More information about the dev mailing list