| @@ 552-557 (lines=6) @@ | ||
| 549 | $type = "mobile"; |
|
| 550 | // create a module instance |
|
| 551 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 552 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 553 | { |
|
| 554 | $type = $orig_type; |
|
| 555 | Mobile::setMobile(FALSE); |
|
| 556 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 557 | } |
|
| 558 | } |
|
| 559 | else |
|
| 560 | { |
|
| @@ 672-677 (lines=6) @@ | ||
| 669 | $type = "mobile"; |
|
| 670 | // create a module instance |
|
| 671 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 672 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 673 | { |
|
| 674 | $type = $orig_type; |
|
| 675 | Mobile::setMobile(FALSE); |
|
| 676 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 677 | } |
|
| 678 | } |
|
| 679 | else |
|
| 680 | { |
|