Page MenuHomeDevCentral

D251.diff
No OneTemporary

D251.diff

diff --git a/app/Actions/ActionError.php b/app/Actions/ActionError.php
--- a/app/Actions/ActionError.php
+++ b/app/Actions/ActionError.php
@@ -22,7 +22,7 @@
* Initializes a new action error report instance from the specified Exception
*/
public function __construct (\Exception $ex) {
- $this->type = get_class($ex);
+ $this->type = class_basename(get_class($ex));
$this->message = $ex->getMessage();
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 06:39 (22 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250393
Default Alt Text
D251.diff (452 B)

Event Timeline