updated lang::has method.

This commit is contained in:
Taylor Otwell 2012-05-05 11:36:04 -05:00
parent 515f5f4009
commit 47b6492a7e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public static function line($key, $replacements = array(), $language = null)
*/
public static function has($key, $language = null)
{
return ! is_null(static::line($key, array(), $language)->get());
return static::line($key, array(), $language)->get() !== $key;
}
/**