]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Several more warnings ... (#5340)
[friendica.git] / mod / search.php
index 974680d2a087d39ab838aa1f675eab8352be5f42..8f89e72001078905eab52d6cf59a73eb10af8614 100644 (file)
@@ -74,6 +74,11 @@ function search_init(App $a) {
                        dba::delete('search', ['uid' => local_user(), 'term' => $search]);
                }
 
+               /// @todo Check if there is a case at all that "aside" is prefilled here
+               if (!isset($a->page['aside'])) {
+                       $a->page['aside'] = '';
+               }
+
                $a->page['aside'] .= search_saved_searches();
 
        } else {