projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes an "undefined variable" error in modules/email.php.
[platal.git]
/
modules
/
axletter
/
axletter.inc.php
diff --git
a/modules/axletter/axletter.inc.php
b/modules/axletter/axletter.inc.php
index
f8d843f
..
385365e
100644
(file)
--- a/
modules/axletter/axletter.inc.php
+++ b/
modules/axletter/axletter.inc.php
@@
-48,8
+48,7
@@
class AXLetter extends MassMailer
WHERE id = {?} OR short_name = {?}", $id, $id);
}
if (!$res->numRows()) {
- $this->_id = null;
- return;
+ throw new MailNotFound();
}
$id = $res->fetchOneRow();
}