Skip to content

Commit

Permalink
Fix: Warning: Parameter 1 to JError::customErrorPage() PHP7.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle Kok committed Jul 29, 2016
1 parent 9e710ab commit 7366d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/legacy/error/error.php
Expand Up @@ -791,7 +791,7 @@ public static function handleCallback(&$error, $options)
* @deprecated 12.1
* @since 11.1
*/
public static function customErrorPage(&$error)
public static function customErrorPage($error)
{
JLog::add('JError::customErrorPage() is deprecated, use JErrorPage::render() instead.', JLog::WARNING, 'deprecated');

Expand Down

0 comments on commit 7366d0e

Please sign in to comment.