From 3fba7044de4b09e12077a6ef3dbb5d0fad9580e5 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 22 Apr 2011 04:57:30 +0200 Subject: Fixed other functions broken * not all functions are able to accept the null as return value (directly or indirectly) of filterByRegexp * finally make all logic not to affect components which shouldn't be bothered with the test. --- data/lib/bugzillaDOMFunctions.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/lib/bugzillaDOMFunctions.js') diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js index 30405f0..0f22020 100644 --- a/data/lib/bugzillaDOMFunctions.js +++ b/data/lib/bugzillaDOMFunctions.js @@ -133,8 +133,7 @@ function getOwner () { * @return String with the maintainer's email address */ function getDefaultBugzillaMaintainer (component) { - var address = filterByRegexp(constantData.defBugzillaMaintainerArr, component); - return address; + return filterByRegexp(constantData.defBugzillaMaintainerArr, component); } /** -- cgit