| @@ 544-549 (lines=6) @@ | ||
| 541 | $type = "mobile"; |
|
| 542 | // create a module instance |
|
| 543 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 544 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 545 | { |
|
| 546 | $type = $orig_type; |
|
| 547 | Mobile::setMobile(FALSE); |
|
| 548 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 549 | } |
|
| 550 | } |
|
| 551 | else |
|
| 552 | { |
|
| @@ 664-669 (lines=6) @@ | ||
| 661 | $type = "mobile"; |
|
| 662 | // create a module instance |
|
| 663 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 664 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 665 | { |
|
| 666 | $type = $orig_type; |
|
| 667 | Mobile::setMobile(FALSE); |
|
| 668 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 669 | } |
|
| 670 | } |
|
| 671 | else |
|
| 672 | { |
|