silverstripe-dbplumber
silverstripe-dbplumber copied to clipboard
Silverstripe DB Admin Panel
Results
2
silverstripe-dbplumber issues
Sort by
recently updated
recently updated
newest added
This is the original function: function addCell($sheet,$row,$cell,$value,$type) { $this->sheets[$sheet]['rows'][$row][$cell]['attrs'] = array('OFFICE:VALUE-TYPE'=>$type,'OFFICE:VALUE'=>$value); $this->sheets[$sheet]['rows'][$row][$cell]['value'] = $value; } Here is the Fixed Version: function addCell($sheet,$row,$cell,$value,$type) { if($type==='string'){ $this->sheets[$sheet]['rows'][$row][$cell]['attrs'] = array('OFFICE:VALUE-TYPE'=>$type,'OFFICE:STRING-VALUE'=>$value); }else{ $this->sheets[$sheet]['rows'][$row][$cell]['attrs'] =...