r1741 + fix quoting
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 29 Feb 2008 13:12:40 +0000 (13:12 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 29 Feb 2008 13:12:40 +0000 (13:12 +0000)
upgrade.php

index d165a52f2b185e90f74a93483f3279f9315eea79..31ccbcb11d527911f3ea5f6be2404bead478f1d6 100644 (file)
@@ -789,7 +789,7 @@ CREATE TABLE `IPVirtualService` (
                        $old_words[113] = '[[HP ProLiant ML370 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-241434-241646-241477-1121474.html]]';
                        $old_words[114] = '[[HP ProLiant ML570 | http://h10010.www1.hp.com/wwpc/us/en/en/WF05a/15351-15351-241434-241646-3328425-1842779.html]]';
                        foreach ($old_words as $dict_key => $dict_value)
-                               $query[] = 'update Dictionary set dict_value = '${dict_value}' where dict_key = ${dict_key} limit 1';
+                               $query[] = "update Dictionary set dict_value = '${dict_value}' where dict_key = ${dict_key} limit 1";
                        foreach ($new_words as $dict_key => $tmp)
                                foreach ($tmp as $chapter_no => $dict_value)
                                        $query[] = 'INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) ' .