From c294c85abac0484340b1b39ff493754f03fcb508 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 2 Jun 2008 15:22:42 -0400 Subject: [PATCH] fixup caching problem with server variable darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz --- lib/omb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5