mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Add ability for extending class to specify its own numeric fields
This commit is contained in:
parent
1a0ae9c9cc
commit
4831a34ffa
@ -557,6 +557,12 @@ abstract class bo_merge
|
||||
}
|
||||
// Look for numbers, set their value if needed
|
||||
$format = $replacement = '';
|
||||
if($this->numeric_fields) {
|
||||
$names = array();
|
||||
foreach($this->numeric_fields as $fieldname) {
|
||||
$names[] = preg_quote($fieldname,'/');
|
||||
}
|
||||
}
|
||||
switch($mimetype.$mso_application_progid)
|
||||
{
|
||||
case 'application/vnd.oasis.opendocument.spreadsheet': // open office calc
|
||||
|
Loading…
Reference in New Issue
Block a user