Return explicitly, rather than relying on the implicit last value.
Patch by fu.
diffs (11 lines):
diff -r f86159d4bcfe -r 38d964a9ee75 cgi-bin/DW/Hooks/Display.pm
--- a/cgi-bin/DW/Hooks/Display.pm Fri Apr 29 16:43:30 2011 +0800
+++ b/cgi-bin/DW/Hooks/Display.pm Sun May 01 07:50:29 2011 +0800
@@ -43,6 +43,7 @@ LJ::Hooks::register_hook( 'finduser_extr
$ret .= " Unused invites: " . $numinvites . "\n";
}
+ return $ret;
});
1;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog