GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor cleanup
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
node_methodz
/
function.get_poll.php
diff --git
a/wwwroot/inc/smarty/node_methodz/function.get_poll.php
b/wwwroot/inc/smarty/node_methodz/function.get_poll.php
index 23f2c9e58929af36c84b3a5315c79a2e43a712d7..020281f0c1c1b2c5440f0331828f10a2af37894c 100644
(file)
--- a/
wwwroot/inc/smarty/node_methodz/function.get_poll.php
+++ b/
wwwroot/inc/smarty/node_methodz/function.get_poll.php
@@
-17,7
+17,7
@@
function smarty_function_get_poll($params,&$smarty) {
$voted='yes';
} else {
$array=nodes::getPoll($user_id,$poll_id);
- if ($array['node_permission']=='ban') $voted='yes';
+ if (
isset($array['node_permission']) &&
$array['node_permission']=='ban') $voted='yes';
else $voted='no';
}
This page took
0.17448 seconds
and
4
git commands to generate.