@@ 551-556 (lines=6) @@ | ||
548 | $type = "mobile"; |
|
549 | // create a module instance |
|
550 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
551 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
552 | { |
|
553 | $type = $orig_type; |
|
554 | Mobile::setMobile(FALSE); |
|
555 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
556 | } |
|
557 | } |
|
558 | else |
|
559 | { |
|
@@ 688-693 (lines=6) @@ | ||
685 | $type = "mobile"; |
|
686 | // create a module instance |
|
687 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
688 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
689 | { |
|
690 | $type = $orig_type; |
|
691 | Mobile::setMobile(FALSE); |
|
692 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
693 | } |
|
694 | } |
|
695 | else |
|
696 | { |