Pārlūkot izejas kodu

Made static function actually static.

Taddeus Kroes 13 gadi atpakaļ
vecāks
revīzija
e4bf5f5ff8
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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');
- 
+
 ?>