projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e4a59
)
Net/XMPP/XMLObj.php
author
edward
<edward@roojs.com>
Thu, 11 Jan 2018 07:13:19 +0000
(15:13 +0800)
committer
edward
<edward@roojs.com>
Thu, 11 Jan 2018 07:13:19 +0000
(15:13 +0800)
Net/XMPP/XMLObj.php
patch
|
blob
|
history
diff --git
a/Net/XMPP/XMLObj.php
b/Net/XMPP/XMLObj.php
index
7ff7736
..
b180742
100644
(file)
--- a/
Net/XMPP/XMLObj.php
+++ b/
Net/XMPP/XMLObj.php
@@
-154,7
+154,8
@@
class XMPPHP_XMLObj
* @param string $attrs
* @param string $ns
*/
- public function sub($name, $attrs = null, $ns = null) {
+ public function sub($name, $attrs = null, $ns = null)
+ {
#TODO attrs is ignored
foreach ($this->subs as $sub) {
if ($sub->name == $name and ( $ns == null or $sub->ns == $ns)) {