From 1a541271a5e331a2bdab764662c69532bffaff81 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 30 Jan 2013 09:20:20 -0500 Subject: [PATCH] - Fixed FS#2646 - Moving website to another client not working. --- interface/lib/classes/listform_actions.inc.php | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/interface/lib/classes/listform_actions.inc.php b/interface/lib/classes/listform_actions.inc.php index 6c707fc..ed689eb 100644 --- a/interface/lib/classes/listform_actions.inc.php +++ b/interface/lib/classes/listform_actions.inc.php @@ -33,8 +33,9 @@ private $id; public $idx_key; public $DataRowColor; - public $SQLExtWhere = ''; - public $SQLOrderBy = ''; + public $SQLExtWhere = ''; + public $SQLOrderBy = ''; + public $SQLExtSelect = ''; public function onLoad() { @@ -141,7 +142,8 @@ if($_SESSION['s']['user']['typ'] == "admin") { $sql_where = ''; } else { - $sql_where = $app->tform->getAuthSQL('r').' and'; + $sql_where = $app->tform->getAuthSQL('r', $app->listform->listDef['table']).' and'; + //$sql_where = $app->tform->getAuthSQL('r').' and'; } } if($this->SQLExtWhere != '') { -- Gitblit v1.9.1