summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-10 14:18:19 -0800
committerEvan Prodromou <evan@status.net>2010-01-10 14:18:19 -0800
commit866dfa6822df54765a9b92336722d86cfad6b123 (patch)
tree013aa4144fcebdd605e4bf2e8ebf491bf1449eb0 /lib/util.php
parent8cf1ef862d9021c0c1015b7a5cccb8e26409057a (diff)
parent7aa43f3c93a5434b59a66824b2816d5ba8cf1978 (diff)
Merge branch 'master' into 0.9.x
Conflicts: classes/Memcached_DataObject.php
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 50bd0e2ac..a4281121e 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -119,6 +119,11 @@ function common_language()
function common_munge_password($password, $id)
{
+ if (is_object($id) || is_object($password)) {
+ $e = new Exception();
+ common_log(LOG_ERR, __METHOD__ . ' object in param to common_munge_password ' .
+ str_replace("\n", " ", $e->getTraceAsString()));
+ }
return md5($password . $id);
}