r1141 + handler_help(): just call renderHelpTab() unconditionally
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 12 Sep 2007 20:42:06 +0000 (20:42 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 12 Sep 2007 20:42:06 +0000 (20:42 +0000)
inc/pagehandlers.php

index cfad66508a272c4a9d704ce4e350dc9a114f5d9d..fcb424310970ae2d84a4335f17f926b9551c5780 100644 (file)
@@ -364,14 +364,7 @@ function handler_reports ($tabno)
 
 function handler_help ($tabno)
 {
-       switch ($tabno)
-       {
-               case 'default':
-                       renderHelpContents();
-                       break;
-               default:
-                       showError ("Invalid tab '${tabno}' requested in handler_help().");
-       }
+       renderHelpTab ($tabno);
 }
 
 ?>