| @@ 539-544 (lines=6) @@ | ||
| 536 | $type = "mobile"; |
|
| 537 | // create a module instance |
|
| 538 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 539 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 540 | { |
|
| 541 | $type = $orig_type; |
|
| 542 | Mobile::setMobile(FALSE); |
|
| 543 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 544 | } |
|
| 545 | } |
|
| 546 | else |
|
| 547 | { |
|
| @@ 659-664 (lines=6) @@ | ||
| 656 | $type = "mobile"; |
|
| 657 | // create a module instance |
|
| 658 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 659 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 660 | { |
|
| 661 | $type = $orig_type; |
|
| 662 | Mobile::setMobile(FALSE); |
|
| 663 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 664 | } |
|
| 665 | } |
|
| 666 | else |
|
| 667 | { |
|