|
@@ -545,7 +545,7 @@ class BTemplateLogic extends BaseLogic |
|
@@ -545,7 +545,7 @@ class BTemplateLogic extends BaseLogic |
|
545
|
public function homeOrProduct($source,$source_id = 0,$is_custom = 0){
|
545
|
public function homeOrProduct($source,$source_id = 0,$is_custom = 0){
|
|
546
|
if($is_custom == 0){
|
546
|
if($is_custom == 0){
|
|
547
|
if($source == BTemplate::SOURCE_HOME){
|
547
|
if($source == BTemplate::SOURCE_HOME){
|
|
548
|
- $route = RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);
|
548
|
+ RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);
|
|
549
|
$type = RouteMap::SOURCE_PAGE;
|
549
|
$type = RouteMap::SOURCE_PAGE;
|
|
550
|
}elseif($source == BTemplate::SOURCE_PRODUCT){
|
550
|
}elseif($source == BTemplate::SOURCE_PRODUCT){
|
|
551
|
$type = RouteMap::SOURCE_PRODUCT;
|
551
|
$type = RouteMap::SOURCE_PRODUCT;
|