Changeset 28621


Ignore:
Timestamp:
06/03/14 17:05:14 (5 years ago)
Author:
mistic100
Message:

feature 3038 : always apply serialize&addslashes if object/array is passed and not parser is defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r28587 r28621  
    11731173    $dbValue = call_user_func($parser, $value); 
    11741174  } 
     1175  else if (is_array($value) || is_object($value)) 
     1176  { 
     1177    $dbValue = addslashes(serialize($value)); 
     1178  } 
    11751179  else 
    11761180  { 
Note: See TracChangeset for help on using the changeset viewer.