]> wagnertech.de Git - kivitendo-erp.git/commitdiff
"current_date" wird von aktuellen DBI-Versionen nicht mehr als BInd-Variable unterstützt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 13 Jan 2011 14:12:18 +0000 (15:12 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 13 Jan 2011 14:12:18 +0000 (15:12 +0100)
SL/IC.pm

index f3f887dcaec705a4e0d772ba725cc83af9c0585c..ac3d6f2817b8310d187071a25a35d61068775a06 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -1535,7 +1535,7 @@ sub retrieve_accounts {
   }
 
   if ($transdate eq "") {
-    $transdate = "current_date";
+    $transdate = DateTime->today_local->to_lxoffice;
   } else {
     $transdate = $dbh->quote($transdate);
   }