| @@ 545-550 (lines=6) @@ | ||
| 542 | $type = "mobile"; |
|
| 543 | // create a module instance |
|
| 544 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 545 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 546 | { |
|
| 547 | $type = $orig_type; |
|
| 548 | Mobile::setMobile(FALSE); |
|
| 549 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 550 | } |
|
| 551 | } |
|
| 552 | else |
|
| 553 | { |
|
| @@ 682-687 (lines=6) @@ | ||
| 679 | $type = "mobile"; |
|
| 680 | // create a module instance |
|
| 681 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 682 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 683 | { |
|
| 684 | $type = $orig_type; |
|
| 685 | Mobile::setMobile(FALSE); |
|
| 686 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 687 | } |
|
| 688 | } |
|
| 689 | else |
|
| 690 | { |
|