Version 5.0.0 release
This commit is contained in:
1 parent
90e8c7e903
commit
a3a4a9ccbd
651 files changed
+7275
-9481
No files matched your search
@@ -14,11 +14,11 @@ namespace IPS\Events;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
|
||||
use Exception;
|
||||
use IPS\Content\Comment;
|
||||
use IPS\Content\Item;
|
||||
use IPS\Dispatcher;
|
||||
use IPS\Log;
|
||||
use Throwable;
|
||||
|
||||
if( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
@@ -64,7 +64,7 @@ class Event
|
||||
{
|
||||
$listener->$event( $object, ...$params );
|
||||
}
|
||||
catch( Exception $e )
|
||||
catch( Throwable $e )
|
||||
{
|
||||
/* See the error if we're IN_DEV */
|
||||
if ( \IPS\IN_DEV )
|
||||
|
||||
Reference in new issue
Block a user