mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
720e7d6034
commit
0cd241bcbe
92 changed files with 1190 additions and 1087 deletions
|
@ -43,7 +43,7 @@ function notes_content(App $a, $update = false) {
|
|||
$o ="";
|
||||
$o .= profile_tabs($a,True);
|
||||
|
||||
if(! $update) {
|
||||
if (! $update) {
|
||||
$o .= '<h3>' . t('Personal Notes') . '</h3>';
|
||||
|
||||
$commpage = false;
|
||||
|
@ -104,8 +104,9 @@ function notes_content(App $a, $update = false) {
|
|||
$parents_str = '';
|
||||
|
||||
if (dbm::is_result($r)) {
|
||||
foreach($r as $rr)
|
||||
foreach ($r as $rr) {
|
||||
$parents_arr[] = $rr['item_id'];
|
||||
}
|
||||
$parents_str = implode(', ', $parents_arr);
|
||||
|
||||
$r = q("SELECT %s FROM `item` %s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue