From a4f1a9e3d8652fdbab568f4c2b5abae47e334e15 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 9 Jan 2012 09:32:11 -0600 Subject: [PATCH] bug 7001 - fix errant ) that broke updatedatabase Content-Type: text/plain; charset="utf-8" --- installer/data/mysql/updatedatabase.pl | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3913e79..5bbb099 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4677,9 +4677,7 @@ Date due: <>
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NoticeCSS','','Notices CSS url.',NULL,'free')"); $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SlipCSS','','Slips CSS url.',NULL,'free')"); - - $dbh->do("UPDATE `letter` SET content = replace(content, '<>', '<<biblio.title>>') WHERE code = 'HOLDPLACED')"); - + $dbh->do("UPDATE `letter` SET content = replace(content, '<<title>>', '<<biblio.title>>') WHERE code = 'HOLDPLACED'"); print "Upgrade to $DBversion done (Add branchcode and is_html to letter table; Add NoticeCSS and SlipCSS sysprefs)\n"; SetVersion($DBversion); } -- 1.7.2.5