From ae4e4acdd1fb82742c926848367026d2c40fe216 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 11 Nov 2009 20:34:59 +0000 Subject: [PATCH] Fix: bad verification --- htdocs/cashdesk/templates/menu.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/cashdesk/templates/menu.tpl.php b/htdocs/cashdesk/templates/menu.tpl.php index 7c98337254b..dac92908bec 100644 --- a/htdocs/cashdesk/templates/menu.tpl.php +++ b/htdocs/cashdesk/templates/menu.tpl.php @@ -28,10 +28,10 @@ if (!empty($conf->global->CASHDESK_ID_THIRDPARTY)) $company->fetch($conf->global->CASHDESK_ID_THIRDPARTY); $companyLink = $company->getNomUrl(1); } -if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT)) +if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CASH)) { $bankcash=new Account($db); - $bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT); + $bankcash->fetch($conf->global->CASHDESK_ID_BANKACCOUNT_CASH); $bankcashLink = $bankcash->getNomUrl(1); } if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB))