diff --git a/admanage.php b/admanage.php
index 563d3017..bdf0d514 100644
--- a/admanage.php
+++ b/admanage.php
@@ -68,6 +68,7 @@ function get_type_name($type)
function print_ad_editor($position, $row = "")
{
global $lang_admanage;
+ global $allowxhtmlclass;
switch ($position)
{
case 'header':
@@ -136,11 +137,11 @@ tr($lang_admanage['row_type']."*", "
");
else{
list($pagertop, $pagerbottom, $limit) = pager($perpage, $num, "?");
- $res = sql_query("SELECT * FROM advertisements ORDER BY id DESC ".(int)$limit) or sqlerr(__FILE__, __LINE__);
+ $res = sql_query("SELECT * FROM advertisements ORDER BY id DESC ".$limit) or sqlerr(__FILE__, __LINE__);
?>
diff --git a/allowedemails.php b/allowedemails.php
index ac62a508..ffbdb388 100644
--- a/allowedemails.php
+++ b/allowedemails.php
@@ -18,14 +18,14 @@ if ($action == 'showlist') {
">
@@ -21,7 +21,7 @@ if ($_GET["returnto"] || $_SERVER["HTTP_REFERER"])
?>
Upload amount has been added and inform message has been sent.
Subject
-
Reason
+
Reason
Operator:
@@ -118,7 +118,7 @@ if ($_GET["sent"] == 1) {