Commit 47b6492a authored by Taylor Otwell's avatar Taylor Otwell

updated lang::has method.

parent 515f5f40
...@@ -89,7 +89,7 @@ class Lang { ...@@ -89,7 +89,7 @@ class Lang {
*/ */
public static function has($key, $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;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment