Changeset 16154 for plugins/pkContextCMSPlugin
- Timestamp:
- 03/10/09 21:39:14 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/pkContextCMSPlugin/trunk/modules/pkContextCMS/actions/components.class.php
r16103 r16154 25 25 { 26 26 $this->page = pkContextCMSTools::getCurrentPage(); 27 if (!$this->page) 28 { 29 // Tabs on non-CMS pages are relative to the home page 30 $this->page = pkContextCMSPageTable::retrieveBySlug('/'); 31 } 27 32 $ancestors = $this->page->getAncestors(); 28 33 if (!$ancestors)