Author: nathangray
New Revision: 55038
URL: http://svn.stylite.de/viewvc/egroupware?rev=55038&view=rev
Log:
Avoid value not being properly parsed in calc
Modified:
trunk/etemplate/inc/class.bo_merge.inc.php
— trunk/etemplate/inc/class.bo_merge.inc.php (original)
+++ trunk/etemplate/inc/class.bo_merge.inc.php Wed Feb 17 00:58:37 2016
@@ -1280,6 +1280,9 @@
switch($mimetype)
{
case ‘application/vnd.oasis.opendocument.spreadsheet’: // open office calc
-
// Removing these forces calc to respect our set value-type
-
$content = str_ireplace('calcext:value-type="string"','',$content);
-
$format = '/<table:table-cell([^>]+?)office:value-type="[^"]+"([^>]*?)>.?<([a-z].*?)[^>]*>\$\$('.implode('|',$names).')\$\$<\/\3>.?<\/table:table-cell>/s';
$replacement = '<table:table-cell$1office:value-type="date" office:date-value="\$\$$4\$\$"$2><$3>\$\$$4\$\$</$3></table:table-cell>';
break;
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