commit | 3dad2e714189b992248261c78d780b322b3c73da | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Jun 14 15:10:56 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Jun 14 15:10:56 2012 +0300 |
tree | 59d13c94d06ea3183c33f384100f61e73f540c87 | |
parent | 19c83f6ec6dd29b2ecbeba87801d275f4e247678 [diff] [blame] |
Replace strncmp() usage with strpos()
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php index be930b0..e81f2ca 100644 --- a/system/libraries/Xmlrpcs.php +++ b/system/libraries/Xmlrpcs.php
@@ -303,7 +303,7 @@ $methName = $m->method_name; // Check to see if it is a system call - $system_call = (strncmp($methName, 'system', 5) === 0); + $system_call = (strpos($methName, 'system') === 0); if ($this->xss_clean === FALSE) {