applied fix proposed on devel list, working around "PHP Warning:

Parameter 1 to boinfolog::write() expected to be a reference, value given"
This commit is contained in:
Ralf Becker 2012-06-05 07:04:03 +00:00
parent c00e9756eb
commit 0b28bf094f

View File

@ -163,13 +163,13 @@ class boinfolog extends infolog_bo
*
* checks and asures ACL
*
* @param array &$values values to write, if contains values for check_defaults and touch_modified,
* @param array $values values to write, if contains values for check_defaults and touch_modified,
* they have precedens over the parameters. The
* @param boolean $check_defaults=true check and set certain defaults
* @param boolean $touch_modified=true touch the modification data and sets the modiefier's user-id
* @return int/boolean info_id on a successfull write or false
*/
function write(&$values,$check_defaults=True,$touch_modified=True)
function write($values,$check_defaults=True,$touch_modified=True)
{
//echo "boinfolog::write()values="; _debug_array($values);
// allow to (un)set check_defaults and touch_modified via values, eg. via xmlrpc