updated lang::has method.

This commit is contained in:
Taylor Otwell
2012-05-05 11:36:04 -05:00
parent 515f5f4009
commit 47b6492a7e

View File

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