Warnings fixed

This commit is contained in:
Michael 2018-07-08 09:37:05 +00:00
commit 3e797547a3
17 changed files with 55 additions and 45 deletions

View file

@ -699,9 +699,7 @@ function networkThreadedView(App $a, $update, $parent)
$order_mode = 'commented';
}
if ($sql_order == '') {
$sql_order = "$sql_table.$ordering";
}
$sql_order = "$sql_table.$ordering";
if (x($_GET, 'offset')) {
$sql_range = sprintf(" AND $sql_order <= '%s'", dbesc($_GET['offset']));