| @@ 558-563 (lines=6) @@ | ||
| 555 | $type = "mobile"; |
|
| 556 | // create a module instance |
|
| 557 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 558 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 559 | { |
|
| 560 | $type = $orig_type; |
|
| 561 | Mobile::setMobile(FALSE); |
|
| 562 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 563 | } |
|
| 564 | } |
|
| 565 | else |
|
| 566 | { |
|
| @@ 678-683 (lines=6) @@ | ||
| 675 | $type = "mobile"; |
|
| 676 | // create a module instance |
|
| 677 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 678 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 679 | { |
|
| 680 | $type = $orig_type; |
|
| 681 | Mobile::setMobile(FALSE); |
|
| 682 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 683 | } |
|
| 684 | } |
|
| 685 | else |
|
| 686 | { |
|