]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Revert "Coding convention applied - part 1"
[friendica.git] / mod / notes.php
index bc80c24da747898b43b77f12578d9ee808d9f9be..c7cfe8d70f1a2d3e13f98249785b6fcf9073a7b1 100644 (file)
@@ -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,9 +104,8 @@ 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