moved get_node_userlist into backend, removed some warnings
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_mail.php
index dcf6db71f643fb92ed32500de986692a322bf55e..587d44d385ac5955b1b8dd3aca8ec9d2c2c303b7 100644 (file)
@@ -43,7 +43,7 @@ userto.login as mail_to_name, userfrom.login as mail_from_name,
 mail.* from mail left join users as userfrom on
 mail_from=userfrom.user_id left join users as userto on mail_to=userto.user_id
 where mail_user='$user_id' ";
-       if ($sql_type) $query.=$sql_type;
+       if (isset($sql_type)) $query.=$sql_type;
        $query.=" order by mail_id desc limit $offset,$listing_amount";
 
        $set = $db->query($query);
This page took 0.096463 seconds and 4 git commands to generate.