projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Core_person_signup.php
[Pman.Core]
/
NotifySend.php
diff --git
a/NotifySend.php
b/NotifySend.php
index
afc09bf
..
f53971a
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-537,10
+537,12
@@
class Pman_Core_NotifySend extends Pman
function errorHandler($msg)
{
- if(
empty($this->referer)
){
-
die
($msg);
+ if(
$this->error_handler == 'exception'
){
+
throw new Exception
($msg);
}
- throw new Exception($msg);
+ die($msg);
+
+
}
}
\ No newline at end of file