From 02cdbcd2cd3f81ca693f205d5f57c401ea5eb708 Mon Sep 17 00:00:00 2001 From: fSerny Date: Thu, 8 Mar 2012 09:57:05 +0000 Subject: [PATCH] [-] BO : Fix on module config file generation (simplexml can't load file when starts with blank space) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13958 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Module.php | 3 +-- modules/blocklink/config.xml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/classes/Module.php b/classes/Module.php index 1475ea1c4..f33fd5521 100644 --- a/classes/Module.php +++ b/classes/Module.php @@ -1534,8 +1534,7 @@ abstract class ModuleCore protected function _generateConfigXml() { - $xml = ' - + $xml = ' '.$this->name.' displayName).']]> diff --git a/modules/blocklink/config.xml b/modules/blocklink/config.xml index 726e2f5c9..6483fd728 100755 --- a/modules/blocklink/config.xml +++ b/modules/blocklink/config.xml @@ -1,13 +1,13 @@ - - blocklink - - - - - + + blocklink + + + + + Are you sure you want to delete all your links ? - 1 - 0 + 0 + 0 - \ No newline at end of file + \ No newline at end of file