projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4bc6f0d
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:23:47 +0000
(13:23 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 05:23:47 +0000
(13:23 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
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;