mirror of
https://github.com/friendica/friendica
synced 2025-01-22 09:39:47 +00:00
Avoid SQL errors
This commit is contained in:
parent
c666c98559
commit
23a97465e5
1 changed files with 2 additions and 2 deletions
|
@ -442,8 +442,8 @@ function network_content(&$a, $update = 0) {
|
||||||
// desired.
|
// desired.
|
||||||
|
|
||||||
$sql_post_table = "";
|
$sql_post_table = "";
|
||||||
$sql_options = (($star) ? " and starred = 1 " : '');
|
$sql_options = (($star) ? " AND `thread`.`starred` " : '');
|
||||||
$sql_options .= (($bmark) ? " and bookmark = 1 " : '');
|
$sql_options .= (($bmark) ? " AND `thread`.`bookmark` " : '');
|
||||||
$sql_extra = $sql_options;
|
$sql_extra = $sql_options;
|
||||||
$sql_extra2 = "";
|
$sql_extra2 = "";
|
||||||
$sql_extra3 = "";
|
$sql_extra3 = "";
|
||||||
|
|
Loading…
Add table
Reference in a new issue