summaryrefslogtreecommitdiffstats
path: root/Net/OpenID/KVForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'Net/OpenID/KVForm.php')
-rw-r--r--Net/OpenID/KVForm.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/Net/OpenID/KVForm.php b/Net/OpenID/KVForm.php
index ebc41e7..7107da3 100644
--- a/Net/OpenID/KVForm.php
+++ b/Net/OpenID/KVForm.php
@@ -31,22 +31,22 @@ class Net_OpenID_KVForm {
list($key, $value) = $value;
}
- if (strpos($key, ':') !== FALSE) {
+ if (strpos($key, ':') !== false) {
trigger_error('":" in key:' . addslashes($key),
E_USER_WARNING);
- return NULL;
+ return null;
}
- if (strpos($key, "\n") !== FALSE) {
+ if (strpos($key, "\n") !== false) {
trigger_error('"\n" in key:' . addslashes($key),
E_USER_WARNING);
- return NULL;
+ return null;
}
- if (strpos($value, "\n") !== FALSE) {
+ if (strpos($value, "\n") !== false) {
trigger_error('"\n" in value:' . addslashes($value),
E_USER_WARNING);
- return NULL;
+ return null;
}
$serialized .= "$key:$value\n";
}