Rename DBA::is_result to DBA::isResult
This commit is contained in:
committed by
Hypolite Petovan
parent
0ec44f3e8a
commit
ecea7425f8
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user