From: Evan Prodromou Date: Mon, 2 Jun 2008 19:22:42 +0000 (-0400) Subject: fixup caching problem with server variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c294c85abac0484340b1b39ff493754f03fcb508;p=quix0rs-gnu-social.git fixup caching problem with server variable darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz --- diff --git a/lib/omb.php b/lib/omb.php index b7731dc3ae..a18f0074f4 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -47,7 +47,7 @@ function omb_oauth_consumer() { function omb_oauth_server() { static $server = null; - if ($server) { + if (!$server) { $server = new OAuthServer(new LaconicaOAuthStore()); } return $server;