Rename DBA::is_result to DBA::isResult
This commit is contained in:
committed by
Hypolite Petovan
parent
0ec44f3e8a
commit
ecea7425f8
@@ -15,7 +15,7 @@ function share_init(App $a) {
|
||||
'guid', 'created', 'plink', 'title'];
|
||||
$item = Item::selectFirst($fields, ['id' => $post_id]);
|
||||
|
||||
if (!DBA::is_result($item) || $item['private'] == 1) {
|
||||
if (!DBA::isResult($item) || $item['private'] == 1) {
|
||||
killme();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user