-Wall cleanup

This commit is contained in:
Mike Macgirvin 2010-10-30 04:59:10 -07:00
commit 768acb0a3f
2 changed files with 4 additions and 4 deletions

View file

@ -1292,7 +1292,7 @@ function logger($msg) {
if(! function_exists('activity_match')) {
function activity_match($haystack,$needle) {
if(($haystack === $needle) || (($basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
if(($haystack === $needle) || ((basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
return true;
return false;
}}