From db44c099857f7c69f3d1bc85952c2c7a3f7d6669 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 4 Dec 2000 01:39:53 +0000 Subject: [PATCH] missing function cal for ->(), should've been ->f() --- setup/sql/mysql_upgrade_beta.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index 8f1cb607fa..0bb6c8b86f 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -694,7 +694,7 @@ $db->query("SELECT cal_id,cal_datetime,cal_owner,cal_edatetime,cal_mdatetime FROM calendar_entry ORDER BY cal_id",__LINE__,__FILE__); if($db->num_rows()) { while($db->next_record()) { - $db2->query("SELECT preference_value FROM preferences WHERE preference_name='tz_offset' AND preference_appname='common' AND preference_owner=".$db->("cal_owner"),__LINE__,__FILE__); + $db2->query("SELECT preference_value FROM preferences WHERE preference_name='tz_offset' AND preference_appname='common' AND preference_owner=".$db->f("cal_owner"),__LINE__,__FILE__); $db2->next_record(); $tz = $db2->f("preference_value"); $cal_id = $db->f("cal_id");