Making SQL more portable
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
20055da807
commit
2fe7eb9af5
1 changed files with 2 additions and 1 deletions
|
@ -563,7 +563,8 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
|
||||
$DBversion = "3.00.00.023";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("INSERT INTO `systempreferences` VALUES ('yuipath','http://yui.yahooapis.com/2.3.1/build','Insert the path to YUI libraries','','free')");
|
||||
$dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type)
|
||||
VALUES ('yuipath','http://yui.yahooapis.com/2.3.1/build','Insert the path to YUI libraries','','free')");
|
||||
print "Upgrade to $DBversion done (adding new system preference for controlling YUI path)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue