| @@ 531-536 (lines=6) @@ | ||
| 528 | $type = "mobile"; |
|
| 529 | // create a module instance |
|
| 530 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 531 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 532 | { |
|
| 533 | $type = $orig_type; |
|
| 534 | Mobile::setMobile(FALSE); |
|
| 535 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 536 | } |
|
| 537 | } |
|
| 538 | else |
|
| 539 | { |
|
| @@ 651-656 (lines=6) @@ | ||
| 648 | $type = "mobile"; |
|
| 649 | // create a module instance |
|
| 650 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 651 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 652 | { |
|
| 653 | $type = $orig_type; |
|
| 654 | Mobile::setMobile(FALSE); |
|
| 655 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 656 | } |
|
| 657 | } |
|
| 658 | else |
|
| 659 | { |
|