Fix var not initialized
This commit is contained in:
parent
671baa261d
commit
6b1fc48bd0
@ -543,8 +543,9 @@ IMG;
|
||||
*/
|
||||
private function _parse($type = 'content')
|
||||
{
|
||||
// Search all tags fou into condition to complete $this->vars, so we will proceed all tests even if not defined
|
||||
// Search all tags found into condition to complete $this->vars, so we will proceed all tests even if not defined
|
||||
$reg='@\[!--\sIF\s([{}a-zA-Z0-9\.\,_]+)\s--\]@smU';
|
||||
$matches = array();
|
||||
preg_match_all($reg, $this->contentXml, $matches, PREG_SET_ORDER);
|
||||
|
||||
//var_dump($this->vars);exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user