Version 4.7.6

This commit is contained in:
Neo committed 2025-12-19 16:05:19 -08:00
1 parent 8ba7d43898
commit 7b7404e741
1085 files changed
+30590 -7837

No files matched your search

+3 -1
View File
@@ -26,6 +26,7 @@ class _Exception extends \RuntimeException
* @brief Extra details for log
*/
public $extraDetails = array();
public $messageKey = NULL;
/**
* Constructor
@@ -40,6 +41,7 @@ class _Exception extends \RuntimeException
{
/* Store these for the extraLogData() method */
$this->extraDetails = $extra;
$this->messageKey = $message;
switch ( $code )
{
@@ -47,7 +49,7 @@ class _Exception extends \RuntimeException
$message = \IPS\Member::loggedIn()->language()->addToStack( $message, FALSE, array( 'sprintf' => $extra ) );
break;
}
return parent::__construct( $message, $code, $previous );
}
}