mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_admin.php
This commit is contained in:
parent
ad6efdf747
commit
65781b90eb
@ -220,7 +220,7 @@ function search_attachments($order_by, &$total_rows, $back_links = '')
|
|||||||
|
|
||||||
if (!($result = DB()->sql_query($sql)))
|
if (!($result = DB()->sql_query($sql)))
|
||||||
{
|
{
|
||||||
bb_die('Could not obtain list of matching users (searching for: ' . $search_author . ')');
|
bb_die('Could not obtain list of matching users (searching for: ' . $search_author . ')' . $back_links);
|
||||||
}
|
}
|
||||||
|
|
||||||
$matching_userids = '';
|
$matching_userids = '';
|
||||||
@ -311,7 +311,7 @@ function search_attachments($order_by, &$total_rows, $back_links = '')
|
|||||||
|
|
||||||
if (!($result = DB()->sql_query($sql)))
|
if (!($result = DB()->sql_query($sql)))
|
||||||
{
|
{
|
||||||
bb_die('Could not query attachments #1');
|
bb_die('Could not query attachments #1' . $back_links);
|
||||||
}
|
}
|
||||||
|
|
||||||
$attachments = DB()->sql_fetchrowset($result);
|
$attachments = DB()->sql_fetchrowset($result);
|
||||||
@ -325,7 +325,7 @@ function search_attachments($order_by, &$total_rows, $back_links = '')
|
|||||||
|
|
||||||
if (!($result = DB()->sql_query($total_rows_sql)))
|
if (!($result = DB()->sql_query($total_rows_sql)))
|
||||||
{
|
{
|
||||||
bb_die('Could not query attachments #2');
|
bb_die('Could not query attachments #2' . $back_links);
|
||||||
}
|
}
|
||||||
|
|
||||||
$total_rows = DB()->num_rows($result);
|
$total_rows = DB()->num_rows($result);
|
||||||
|
Loading…
Reference in New Issue
Block a user