fix typo.

This commit is contained in:
Taylor Otwell 2012-05-03 08:38:43 -05:00
parent 280bc99ed8
commit 74022cfa5a
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ protected static function compile_forelse($value)
preg_match('/\$[^\s]*/', $forelse, $variable); preg_match('/\$[^\s]*/', $forelse, $variable);
// Once we have extracted the variable being looped against, we can add // 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. // of the variable being looped against is greater than zero.
$if = "<?php if (count({$variable[0]}) > 0): ?>"; $if = "<?php if (count({$variable[0]}) > 0): ?>";