Diff of /mambo/branches/4.6/includes/core.classes.php
Parent Directory
|
Revision Log
|
Patch
| revision 1491, Fri Dec 21 20:50:32 2007 UTC | revision 1492, Fri Dec 21 21:56:38 2007 UTC | |
|---|---|---|
| # | Line 503 | Line 503 |
| 503 | if ( $option == 'com_content') { | if ( $option == 'com_content') { |
| 504 | require_once($this->rootPath().'/components/com_content/content.class.php'); | require_once($this->rootPath().'/components/com_content/content.class.php'); |
| 505 | $handler =& contentHandler::getInstance(); | $handler =& contentHandler::getInstance(); |
| 506 | $this->Itemid = $handler->getItemid(mosGetParam($_REQUEST, 'id', 0 )); | $this->Itemid = (int)$handler->getItemid(mosGetParam($_REQUEST, 'id', 0 )); |
| 507 | $_REQUEST['Itemid'] = $this->Itemid; | $_REQUEST['Itemid'] = $this->Itemid; |
| 508 | } | } |
| 509 | else { | else { |
| # | Line 515 | Line 515 |
| 515 | } | } |
| 516 | } | } |
| 517 | } | } |
| 518 | return $option; | return trim(htmlspecialchars($option)); |
| 519 | } | } |
| 520 | ||
| 521 | /** | /** |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

