| @@ 472-477 (lines=6) @@ | ||
| 469 | $type = "mobile"; |
|
| 470 | // create a module instance |
|
| 471 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 472 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 473 | { |
|
| 474 | $type = $orig_type; |
|
| 475 | Mobile::setMobile(FALSE); |
|
| 476 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 477 | } |
|
| 478 | } |
|
| 479 | else |
|
| 480 | { |
|
| @@ 592-597 (lines=6) @@ | ||
| 589 | $type = "mobile"; |
|
| 590 | // create a module instance |
|
| 591 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 592 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 593 | { |
|
| 594 | $type = $orig_type; |
|
| 595 | Mobile::setMobile(FALSE); |
|
| 596 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 597 | } |
|
| 598 | } |
|
| 599 | else |
|
| 600 | { |
|