Added root namespace to function

Tests were failing on 5.4 out on travis. Was barking about the function not
existing in the namespace. Hoping this resolves it.
This commit is contained in:
Josh Sherman 2014-10-02 21:18:36 -04:00
parent 5ce36537a6
commit 1b365bcff0

View file

@ -177,7 +177,7 @@ class Resource extends Object
if ($function == 'password_hash') if ($function == 'password_hash')
{ {
$global[$variable] = password_hash($value, PASSWORD_DEFAULT); $global[$variable] = \password_hash($value, PASSWORD_DEFAULT);
} }
else else
{ {