Skip to content

Commit

Permalink
Fixed syntax for compatibility with PHP versions < 5.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alafon committed Apr 16, 2012
1 parent 1f6cb11 commit 1d4d36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ezjscserverrouter.php
Expand Up @@ -197,7 +197,7 @@ public static function staticHasFunction( $className, $functionName, $isTemplate
}
else
{
return is_callable( "{$className}::{$functionName}" );
return is_callable( array( $className, $functionName ) );
}
}

Expand Down

0 comments on commit 1d4d36e

Please sign in to comment.