From db3cf8e62017e40533164edb0ab91cabf69f1f3b Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 25 Feb 2013 06:36:04 +1300 Subject: [PATCH] Fixing a mistake in the updatedatabase stanza --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index eed6e14684..c1fb41e5ea 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6089,7 +6089,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { } $DBversion = "3.10.02.001"; -if ( CheckVersion($DBversion) ) { +if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { $dbh->do(q{ UPDATE userflags SET flagdesc="Required for staff login. Staff access, allows viewing of catalogue in staff client." where flag="catalogue"; }); -- 2.39.5