1
0
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:
Cameron
2017-04-10 13:29:05 -07:00
parent 630a5aa147
commit 1b1de9cda7
4 changed files with 81 additions and 16 deletions

View File

@@ -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);