Explorar o código

Made static function actually static.

Taddeus Kroes %!s(int64=13) %!d(string=hai) anos
pai
achega
e4bf5f5ff8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pquery.php

+ 2 - 2
pquery.php

@@ -144,7 +144,7 @@ class pQuery {
 	 * 
 	 * @param Exception $e The exception to handle.
 	 */
-	function exception_handler($e) {
+	static function exception_handler($e) {
 		if( $e instanceof pQueryException )
 			die(nl2br($e->getMessage()));
 		
@@ -335,5 +335,5 @@ class_alias('pQuery', '__p');
 set_exception_handler('__p::exception_handler');
 
 __p::assert_defined('PQUERY_DEBUG', 'PQUERY_ROOT', 'SITE_ROOT');
- 
+
 ?>