]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
variable name change bug
authorEvan Prodromou <evan@prodromou.name>
Fri, 21 Nov 2008 16:29:18 +0000 (11:29 -0500)
committerEvan Prodromou <evan@prodromou.name>
Fri, 21 Nov 2008 16:29:18 +0000 (11:29 -0500)
darcs-hash:20081121162918-84dde-76a765414ccc036371cc747b6323a555df8fc6c4.gz

scripts/inbox_users.php

index b74a212dccd0379374444e0a443f7f82baf1b6f6..0543abb2a33bb46e045699ed78faa711192a2167 100755 (executable)
@@ -62,7 +62,7 @@ foreach ($ids as $id) {
        $old_inbox = new Notice_inbox();
        $old_inbox->user_id = $user->id;
        
-       $result = $inbox->delete();
+       $result = $old_inbox->delete();
        
        if (is_null($result) || $result === false) {
                common_log_db_error($old_inbox, 'DELETE', __FILE__);