minor cleanup
authorniekt0 <niekt0@kyberia.cz>
Sat, 1 Oct 2011 12:41:36 +0000 (14:41 +0200)
committerniekt0 <niekt0@kyberia.cz>
Sat, 1 Oct 2011 12:41:36 +0000 (14:41 +0200)
trash/database.inc-bak [moved from wwwroot/inc/database.inc-bak with 100% similarity]
trash/transaction.inc [moved from wwwroot/inc/transaction.inc with 100% similarity]
wwwroot/inc/smarty/node_methodz/function.get_poll.php

index 23f2c9e58929af36c84b3a5315c79a2e43a712d7..020281f0c1c1b2c5440f0331828f10a2af37894c 100644 (file)
@@ -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.110649 seconds and 4 git commands to generate.