From 5748d1adb52e5b032bfbfc387ed3856bd33853ad Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Jun 2005 09:51:18 +0000 Subject: [PATCH] - fixed SQL error in saving holidays - fixed not shown locales in holiday-admin --- calendar/inc/class.soholiday.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.soholiday.inc.php b/calendar/inc/class.soholiday.inc.php index ac1b086c33..3f3c3a8079 100755 --- a/calendar/inc/class.soholiday.inc.php +++ b/calendar/inc/class.soholiday.inc.php @@ -45,6 +45,7 @@ } $hol_id = $holiday['hol_id']; unset($holiday['hol_id']); + unset($holiday['hol_locales']); if ($hol_id) { @@ -171,7 +172,7 @@ $this->db->select($this->table,'DISTINCT hol_locale',$querymethod,__LINE__,__FILE__); while($this->db->next_record()) { - $locale[] = $this->db->f('locale'); + $locale[] = $this->db->f('hol_locale'); } return $locale; }