| @@ 442-447 (lines=6) @@ | ||
| 439 | $type = "mobile"; |
|
| 440 | // create a module instance |
|
| 441 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 442 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 443 | { |
|
| 444 | $type = $orig_type; |
|
| 445 | Mobile::setMobile(FALSE); |
|
| 446 | $oModule = $this->getModuleInstance($this->module, $type, $kind); |
|
| 447 | } |
|
| 448 | } |
|
| 449 | else |
|
| 450 | { |
|
| @@ 562-567 (lines=6) @@ | ||
| 559 | $type = "mobile"; |
|
| 560 | // create a module instance |
|
| 561 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 562 | if(!is_object($oModule) || !method_exists($oModule, $this->act)) |
|
| 563 | { |
|
| 564 | $type = $orig_type; |
|
| 565 | Mobile::setMobile(FALSE); |
|
| 566 | $oModule = $this->getModuleInstance($forward->module, $type, $kind); |
|
| 567 | } |
|
| 568 | } |
|
| 569 | else |
|
| 570 | { |
|