//small fix in adminThemeController

This commit is contained in:
vAugagneur
2012-11-22 18:27:07 +01:00
parent e22d3fd905
commit eb44c1d707
@@ -211,6 +211,7 @@ class AdminThemesControllerCore extends AdminController
if (!$paypal_installed && in_array($iso_code, $paypal_countries)) if (!$paypal_installed && in_array($iso_code, $paypal_countries))
{ {
if (!$this->isXmlHttpRequest())
$this->warnings[] = $this->l('The mobile theme only works with the PayPal\'s payment module at this time. Please activate the module to enable payments.') $this->warnings[] = $this->l('The mobile theme only works with the PayPal\'s payment module at this time. Please activate the module to enable payments.')
.'<br>'. .'<br>'.
$this->l('In order to use the mobile theme you have to install and configure the PayPal module.'); $this->l('In order to use the mobile theme you have to install and configure the PayPal module.');