From 765d0572a24fc454989ec119cbaa1c089cd34bfa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 24 May 2009 05:21:56 +0000 Subject: - Patch #471142 by stella: code style fixes. --- modules/openid/openid.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/openid') diff --git a/modules/openid/openid.inc b/modules/openid/openid.inc index 7df2262d6..9bc4de789 100644 --- a/modules/openid/openid.inc +++ b/modules/openid/openid.inc @@ -154,7 +154,7 @@ function _openid_create_message($data) { foreach ($data as $key => $value) { if ((strpos($key, ':') !== FALSE) || (strpos($key, "\n") !== FALSE) || (strpos($value, "\n") !== FALSE)) { - return null; + return NULL; } $serialized .= "$key:$value\n"; } @@ -381,7 +381,7 @@ function _openid_dh_rand($stop) { } function _openid_get_bytes($num_bytes) { - static $f = null; + static $f = NULL; $bytes = ''; if (!isset($f)) { $f = @fopen(OPENID_RAND_SOURCE, "r"); -- cgit v1.2.3