Changeset 6053


Ignore:
Timestamp:
26/11/09 13:22:39 (10 years ago)
Author:
pnorton
Message:

Fixed a bug with the section id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/joomla/trunk/custom_extensions/com_customproperties_qesdi_mod/site/models/search.php

    r6049 r6053  
    923923        $result = $database->loadObject(); 
    924924         
    925  
    926 jimport('joomla.error.log'); 
    927 $log = &JLog::getInstance(); 
    928  
    929 $log->addEntry(array('level' => 'Debug', 'comment' => "\$result = ". print_r($result, true) ."\n")); 
    930                     
    931925        $articleAlias = $result->alias; 
    932926        $catId = $result->catid; 
     
    935929        $slug = $articleId . ':' . $articleAlias; 
    936930    $catslug = $catId . ':' . $catAlias; 
    937     $sectionid = 5; 
     931    $sectionid = $result->sectionid; 
    938932     
    939933    $href = ContentHelperRoute::getArticleRoute($slug, $catslug, $sectionid); 
Note: See TracChangeset for help on using the changeset viewer.