Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

heck stack size

  • Loading branch information...
commit 3cd21cc8c96340c3c08a6008db5038de91fb456d 1 parent a7b05fb
charles marshall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/controller/LocalDealerController.php
View
2  lib/controller/LocalDealerController.php
@@ -29,7 +29,7 @@ protected function event_setup(){
}
if(!$dealer_lookup){
$obj->content_lookup($obj);
- if(in_array("dealers", $obj->cms_stack)){
+ if(in_array("dealers", $obj->cms_stack) && count($obj->cms_stack) > 1){
$obj->dealer_checked = "/".trim(implode("/", array_slice($obj->cms_stack,0,2)), "/")."/";
$obj->dealer_check();
}
Please sign in to comment.
Something went wrong with that request. Please try again.