mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 16:50:07 +02:00
Issue #2486 - Downloads templatea fix. Breadcrumb fix. Replacement e_url profile added.
This commit is contained in:
@@ -412,6 +412,15 @@ class download
|
||||
}
|
||||
|
||||
$dlrow = $sql->fetch();
|
||||
|
||||
$sc->parent = $this->getParent($dlrow['download_category_id']);
|
||||
|
||||
if(!empty( $sc->parent['download_category_parent']))
|
||||
{
|
||||
$sc->grandparent = $this->getParent( $sc->parent['download_category_id']);
|
||||
}
|
||||
|
||||
|
||||
$sc->setVars($dlrow);
|
||||
$this->setMeta($dlrow);
|
||||
|
||||
|
Reference in New Issue
Block a user