From: niekt0 Date: Sat, 1 Oct 2011 12:41:36 +0000 (+0200) Subject: minor cleanup X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=fd094549b00294ba13b4c04fcf4e7ed833a96e21;p=mirrors%2FKyberia-bloodline.git minor cleanup --- diff --git a/wwwroot/inc/database.inc-bak b/trash/database.inc-bak similarity index 100% rename from wwwroot/inc/database.inc-bak rename to trash/database.inc-bak diff --git a/wwwroot/inc/transaction.inc b/trash/transaction.inc similarity index 100% rename from wwwroot/inc/transaction.inc rename to trash/transaction.inc diff --git a/wwwroot/inc/smarty/node_methodz/function.get_poll.php b/wwwroot/inc/smarty/node_methodz/function.get_poll.php index 23f2c9e..020281f 100644 --- 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'; }