projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1e7c2
)
RooGetTrait.php
author
Edward
<edward@roojs.com>
Thu, 6 Sep 2018 08:46:03 +0000
(16:46 +0800)
committer
Edward
<edward@roojs.com>
Thu, 6 Sep 2018 08:46:03 +0000
(16:46 +0800)
RooGetTrait.php
patch
|
blob
|
history
diff --git
a/RooGetTrait.php
b/RooGetTrait.php
index
c616622
..
162ebce
100644
(file)
--- a/
RooGetTrait.php
+++ b/
RooGetTrait.php
@@
-107,7
+107,8
@@
trait Pman_Core_RooGetTrait {
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
- $tab = array_shift(explode('/', $tab));
+ $explode_tab = explode('/', $tab);
+ $tab = array_shift($explode_tab);
$x = $this->dataObject($tab);