[-] BO : Check if store is set.

[-] BO : #PSCFV-2164 Added description for Cache options, and fixed links
[-] FO : #PSCFV-2138 Removed * on Home Phone (it's not a required field)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15184 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jObregon
2012-05-10 15:04:16 +00:00
parent 49c37d0d39
commit 825b3a0057
3 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -2338,7 +2338,7 @@ class AdminControllerCore extends Controller
return;
$shops = Shop::getShops(true, null, true);
if (count($shops) == 1)
if (count($shops) == 1 && isset($shops[0]))
return array($shops[0], 'shop');
$assos = array();