Skip to content

Commit

Permalink
Follow up to fca3d5c, syntax error!
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Sep 1, 2010
1 parent fca3d5c commit 105723e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions classes/kohana/inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,7 @@ public static function plural($str, $count = NULL)

if ($count !== NULL)
{
$count
}

if (is_string($count))
{
// Convert to integer when using a digit string
// Force an integer value, so that === 0 works
$count = (int) $count;
}

Expand Down

1 comment on commit 105723e

@zombor
Copy link
Contributor

@zombor zombor commented on 105723e Sep 1, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running unit tests before a commit can help prevent this :)

Please sign in to comment.