X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=RooGetTrait.php;h=162ebce1d0e998dc6863e32dbb7e31b2835e16de;hp=c61662297c2722aa33ecdc0dea839a2514715539;hb=refs%2Fheads%2Fwip_edward_T5851_download_old_offer_sheet;hpb=e64bbf84bb547ef754dae7ad6f2fac70b821a6c2 diff --git a/RooGetTrait.php b/RooGetTrait.php index c6166229..162ebce1 100644 --- 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);