From ff64abfdbc00bcfb5ccaae3b53c0b1ab7a5c54f5 Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Tue, 19 Mar 2013 10:14:36 +0100 Subject: [PATCH] Bugfix : allows survey creator to see partial results. --- modules/survey/survey.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/survey/survey.inc.php b/modules/survey/survey.inc.php index 5139844..6f8ad08 100644 --- a/modules/survey/survey.inc.php +++ b/modules/survey/survey.inc.php @@ -352,7 +352,7 @@ class Survey if (!S::user()->checkPerms(PERMS_USER)) { $where .= XDB::format(' AND mode = {?}', self::MODE_ALL); } - $sql = 'SELECT id, title, end, mode + $sql = 'SELECT id, title, uid, end, mode FROM surveys WHERE '.$where.' ORDER BY end DESC;'; -- 2.1.4