Author: ralfbecker
New Revision: 55094
URL: http://svn.stylite.de/viewvc/egroupware?rev=55094&view=rev
Log:
need to cast to string, as ADOdb 5.20 would return NULL instead of ‘’ for NULL, causing us to write that into NOT NULL columns
Modified:
trunk/egroupware/api/src/Db.php
— trunk/egroupware/api/src/Db.php (original)
+++ trunk/egroupware/api/src/Db.php Mon Feb 22 14:31:44 2016
@@ -1418,7 +1418,8 @@
// for boolean types, causing it to return “true” or “false” and not a quoted string like “‘1’”!
if (is_bool($value)) $value = (string)$value;
-
// need to cast to string, as ADOdb 5.20 would return NULL instead of '' for NULL, causing us to write that into NOT NULL columns
-
return $this->Link_ID->qstr((string)$value);
}
/**
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs