projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NotifySmtpCheck.php
[Pman.Core]
/
NotifySmtpCheck.php
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
83d9fba
..
6333af5
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-33,8
+33,13
@@
class Pman_Core_NotifySmtpCheck extends Pman
$xpath = new DOMXPath($dom);
- $
lists
= $xpath->query("//code[@class='ip']");
+ $
element
= $xpath->query("//code[@class='ip']");
+ if(!$element->length){
+ return;
+ }
+
+ print_R($element->item(0));exit;
print_R($lists);exit;