diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-02 15:22:42 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-02 15:22:42 -0400 |
commit | c294c85abac0484340b1b39ff493754f03fcb508 (patch) | |
tree | 608fc2736581c1f9ed5cd4f0769dbba4434d645b /lib/omb.php | |
parent | 68242de9eff4c74cf7e245cc977e27734f7687cf (diff) |
fixup caching problem with server variable
darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r-- | lib/omb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/omb.php b/lib/omb.php index b7731dc3a..a18f0074f 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; |