From: Brion Vibber Date: Thu, 14 Jan 2010 04:46:44 +0000 (-0800) Subject: actually use the user id instead of 0 ;) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35a2f8de4d46c403d6ca17695a8d040f003125c8;p=quix0rs-gnu-social.git actually use the user id instead of 0 ;) --- diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index 781179401c..44508fe22a 100644 --- a/scripts/initializeinbox.php +++ b/scripts/initializeinbox.php @@ -91,7 +91,7 @@ function initializeInbox($user) print "Initializing inbox for $user->nickname..."; } - $inbox = Inbox::staticGet('user_id', $user_id); + $inbox = Inbox::staticGet('user_id', $user->id); if ($inbox && !empty($inbox->fake)) { if (!have_option('q', 'quiet')) { @@ -104,7 +104,7 @@ function initializeInbox($user) print "SKIP\n"; } } else { - $inbox = Inbox::initialize($user_id); + $inbox = Inbox::initialize($user->id); if (!have_option('q', 'quiet')) { if (empty($inbox)) { print "ERR\n";