diff --git a/e107_core/templates/userposts_template.php b/e107_core/templates/userposts_template.php index 4e17e4b64..49e9358b2 100644 --- a/e107_core/templates/userposts_template.php +++ b/e107_core/templates/userposts_template.php @@ -68,7 +68,7 @@ $USERPOSTS_NP_TABLE = $USERPOSTS_TEMPLATE['np_table']; // BC, will be removed
{NEXTPREV}
- +
"; $USERPOSTS_FORUM_TABLE_START = $USERPOSTS_TEMPLATE['forum_table_start']; // BC, will be removed @@ -89,12 +89,11 @@ $USERPOSTS_NP_TABLE = $USERPOSTS_TEMPLATE['np_table']; // BC, will be removed $USERPOSTS_FORUM_TABLE = $USERPOSTS_TEMPLATE['forum_table']; // BC, will be removed $USERPOSTS_TEMPLATE['forum_table_end'] = " - - - +
- {USERPOSTS_FORUM_SEARCH} -
+
+ {USERPOSTS_FORUM_SEARCH} +
{NEXTPREV}
diff --git a/userposts.php b/userposts.php index bece2ba50..6209419a4 100644 --- a/userposts.php +++ b/userposts.php @@ -194,6 +194,8 @@ elseif ($action == 'forums') ORDER BY p.post_datestamp DESC LIMIT {$from}, 10 "; + $debug = deftrue('e_DEBUG'); + if (!$sql->gen($qry)) { $ftext .= "".UP_LAN_8.'';