Fix: bug #34192: Some Spanish bank accounts give control key error, although they are correct

This commit is contained in:
Juanjo Menent 2011-09-02 10:09:15 +00:00
parent 0e3009e8b7
commit 4079240688
3 changed files with 3 additions and 3 deletions

View File

@ -261,7 +261,7 @@ if ($action == 'create')
if ($res)
{
while ($menu = $db->fetch_array($res))
while ($menu = $db->fetch_array ($res))
{
$parent_rowid = $menu['rowid'];
$parent_mainmenu = $menu['mainmenu'];

View File

@ -300,7 +300,7 @@ if ($conf->use_javascript_ajax)
$num = $db->num_rows($res);
$i = 1;
while ($menu = $db->fetch_array($res))
while ($menu = $db->fetch_array ($res))
{
if (! empty($menu['langs'])) $langs->load($menu['langs']);
$titre = $langs->trans($menu['titre']);

View File

@ -32,7 +32,7 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1);
if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
session_cache_limiter(FALSE);
session_cache_limiter( FALSE );
require_once("../../master.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php");