From 768acb0a3faf2c2f2a523420710673aaacb64f76 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 30 Oct 2010 04:59:10 -0700 Subject: -Wall cleanup --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index f69d66be5..b67a6cebb 100644 --- a/boot.php +++ b/boot.php @@ -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; }} -- cgit v1.2.3