Merge pull request #5626 from annando/notices-oh-yeah
[friendica.git/.git] / mod / viewsrc.php
index 2b91d6f..afdcaad 100644 (file)
@@ -25,7 +25,7 @@ function viewsrc_content(App $a)
 
        $item = Item::selectFirst(['body'], ['uid' => local_user(), 'id' => $item_id]);
 
-       if (DBA::is_result($item)) {
+       if (DBA::isResult($item)) {
                if (is_ajax()) {
                        echo str_replace("\n", '<br />', $item['body']);
                        killme();