Commit 0ca2a100 authored by tombombadilom's avatar tombombadilom

corrected bug on Call-time pass-by-reference

parent 8f7420d8
......@@ -291,7 +291,7 @@ class LayerLib extends TikiLib {
$iconsymbol=array();
do {
$content=ltrim($content);
$tag=$this->gettag(&$content);
$tag=$this->gettag($content);
if ($tag === FALSE) return $iconsymbol;
$tag=strtoupper($tag);
switch($tag) {
......@@ -328,7 +328,7 @@ class LayerLib extends TikiLib {
}
$newobj=array();
$newobj["tag"]=$tag;
$newobj["value"]=$this->readoneparam(&$content);
$newobj["value"]=$this->readoneparam($content);
$curobj[]=$newobj;
break;
......@@ -341,7 +341,7 @@ class LayerLib extends TikiLib {
}
$newobj=array();
$newobj["tag"]=$tag;
$newobj["value"]=$this->readnumberlist(&$content);
$newobj["value"]=$this->readnumberlist($content);
$curobj[]=$newobj;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment