issue 70 change list check all, because session not use.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8847 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-23 11:36:03 +00:00
parent 569e972e07
commit 85f921f9e9
15 changed files with 66 additions and 107 deletions

View file

@ -197,14 +197,8 @@
function procPollGetList()
{
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
// Taken from a list of selected sessions
$flagList = $_SESSION['poll_management'];
if(count($flagList)) {
foreach($flagList as $key => $val) {
if(!is_bool($val)) continue;
$pollSrlList[] = $key;
}
}
$pollSrls = Context::get('poll_srls');
if($pollSrls) $pollSrlList = explode(',', $pollSrls);
global $lang;
if(count($pollSrlList) > 0) {