fix typo.
This commit is contained in:
parent
280bc99ed8
commit
74022cfa5a
|
@ -192,7 +192,7 @@ protected static function compile_forelse($value)
|
|||
preg_match('/\$[^\s]*/', $forelse, $variable);
|
||||
|
||||
// Once we have extracted the variable being looped against, we can add
|
||||
// an if statmeent to the start of the loop that checks if the count
|
||||
// an if statement to the start of the loop that checks if the count
|
||||
// of the variable being looped against is greater than zero.
|
||||
$if = "<?php if (count({$variable[0]}) > 0): ?>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue