diff options
| author | Christopher Guindon | 2017-12-18 21:39:35 +0000 |
|---|---|---|
| committer | Christopher Guindon | 2017-12-18 21:39:35 +0000 |
| commit | 1974665b59e7ad5662ed24ba212b188b074bb0d9 (patch) | |
| tree | 48c4973093ed7729b61275472b071a0454e421c5 | |
| parent | 8eaf2fa311883e9997330c046b3102a6c7628db1 (diff) | |
| download | org-1974665b59e7ad5662ed24ba212b188b074bb0d9.tar.gz org-1974665b59e7ad5662ed24ba212b188b074bb0d9.tar.xz org-1974665b59e7ad5662ed24ba212b188b074bb0d9.zip | |
Bug 2622 - Problem with page that shows Board election candidates
Change-Id: Ia09ae3847ba8549badbf339ecc92719032e6456e
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
| -rw-r--r-- | elections/nominees.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/elections/nominees.php b/elections/nominees.php index dbbc2d8f..9021dc85 100644 --- a/elections/nominees.php +++ b/elections/nominees.php @@ -17,37 +17,6 @@ $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' -set_error_handler("ignoreDumbStuffHandler"); -function ignoreDumbStuffHandler($errno, $errmsg, $filename, $linenum, $vars) { - $errortype = array ( - E_ERROR => 'Error', - E_WARNING => 'Warning', - E_PARSE => 'Parsing Error', - E_NOTICE => 'Notice', - E_CORE_ERROR => 'Core Error', - E_CORE_WARNING => 'Core Warning', - E_COMPILE_ERROR => 'Compile Error', - E_COMPILE_WARNING => 'Compile Warning', - E_USER_ERROR => 'User Error', - E_USER_WARNING => 'User Warning', - E_USER_NOTICE => 'User Notice', - E_STRICT => 'Runtime Notice', - E_RECOVERABLE_ERROR => 'Catchable Fatal Error'); - switch($errno) { - case E_NOTICE: // discard NOTICEs - case E_STRICT: // discard RUNTIME notices for deprecated usages - return; - default: - echo "<p><table cellpadding=10 width=400 bgcolor=#ffcccc><tr><td><font size=+2>Trouble: </font>"; - echo "PHP $errortype[$errno]:<br>$errmsg<br>$filename ($linenum)"; - $mysql_error_func = 'mysql_error_check'; - if(function_exists($mysql_error_func)) { - $mysql_error_func(); - } - echo "</table></p>\n"; - } -} - include("scripts/candidate.php"); //$id = $_GET['id']; $year="2018"; @@ -60,7 +29,6 @@ function ignoreDumbStuffHandler($errno, $errmsg, $filename, $linenum, $vars) { $pageAuthor = "Mike & Wayner"; # End: page-specific settings - # $committer_candidates = get_candidates_list_as_html($candidates, $year, 'committer'); $addin_candidates = get_candidates_list_as_html($candidates, $year, 'addin'); |
