From e7be87df93895de47414a5a788cd6487adb98a29 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 7 Jan 2019 13:24:11 -0500 Subject: [PATCH] Fix missing $ in front of variable names --- src/Protocol/OStatus.php | 2 +- src/Worker/TagUpdate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 6860665fc2..551253e6a0 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -1653,7 +1653,7 @@ class OStatus } if (!DBA::isResult($r)) { - $contact = owner; + $contact = $owner; } if (!isset($contact["poll"])) { diff --git a/src/Worker/TagUpdate.php b/src/Worker/TagUpdate.php index cccaed8e2b..213c26ac0a 100644 --- a/src/Worker/TagUpdate.php +++ b/src/Worker/TagUpdate.php @@ -31,7 +31,7 @@ class TagUpdate $messages = DBA::select('item', ['guid'], ['uid' => 0]); Logger::log('fetched messages: ' . DBA::numRows($messages)); - while ($message = DBA::fetch(messages)) { + while ($message = DBA::fetch($messages)) { DBA::update('item', ['global' => true], ['guid' => $message['guid']]); }