correct an errant "SELECT FROM" that slipped in
---
 C4/Calendar.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Calendar.pm b/C4/Calendar.pm
index 65ad729..657d4b7 100644
--- a/C4/Calendar.pm
+++ b/C4/Calendar.pm
@@ -353,7 +353,7 @@ sub delete_holiday {
         my $id = $isSingleHoliday->fetchrow;
         $isSingleHoliday->finish; # Close the last query
 
-        my $deleteHoliday = $dbh->prepare("SELECT FROM special_holidays WHERE 
id = ?");
+        my $deleteHoliday = $dbh->prepare("DELETE FROM special_holidays WHERE 
id = ?");
         $deleteHoliday->execute($id);
         
delete($self->{'single_holidays'}->{"$options{year}/$options{month}/$options{day}"});
     } else {
-- 
1.5.5.GIT

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to