From: Joe Hunt Date: Wed, 26 Aug 2009 22:34:29 +0000 (+0000) Subject: Small mismatch X-Git-Tag: v2.4.2~19^2~1290 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=e68c17647abf110864dbf53e246b102d3a95f041;p=fa-stable.git Small mismatch --- diff --git a/gl/includes/db/gl_db_accounts.inc b/gl/includes/db/gl_db_accounts.inc index 26612b58..ce0a3507 100644 --- a/gl/includes/db/gl_db_accounts.inc +++ b/gl/includes/db/gl_db_accounts.inc @@ -55,10 +55,6 @@ function get_gl_accounts_all($balance=-1) $where ="WHERE ctype>0 AND ctype<".CL_INCOME; elseif ($balance == 0) $where ="WHERE ctype>".CL_EQUITY." OR ctype=0"; // backwards compatibility - $sql = "SELECT ".TB_PREF."chart_master.account_code, ".TB_PREF."chart_master.account_code2, ".TB_PREF."chart_master.account_name, - ".TB_PREF."chart_types.name AS AccountTypeName,".TB_PREF."chart_types.id AS AccountType - $where"; - $sql = "SELECT ".TB_PREF."chart_master.account_code, ".TB_PREF."chart_master.account_name, ".TB_PREF."chart_master.account_code2, ".TB_PREF."chart_types.name AS AccountTypeName,".TB_PREF."chart_types.id AS AccountType, ".TB_PREF."chart_types.parent, ".TB_PREF."chart_class.class_name AS AccountClassName, ".TB_PREF."chart_class.cid AS ClassID,