svn: /web/php-bugs/trunk/include/ functions.php

From: Date: Sat, 02 Jul 2011 19:46:04 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11439@lists.php.net to get a copy of this message
felipe Sat, 02 Jul 2011 19:46:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312822 Log: - Revert changes Changed paths: U web/php-bugs/trunk/include/functions.php Modified: web/php-bugs/trunk/include/functions.php =================================================================== --- web/php-bugs/trunk/include/functions.php 2011-07-02 19:18:23 UTC (rev 312821) +++ web/php-bugs/trunk/include/functions.php 2011-07-02 19:46:04 UTC (rev 312822) @@ -1472,11 +1472,8 @@ if ($project !== false) $where.= "WHERE (project = '{$project}' OR project = '')"; - /* Put trysvn* in the beginning of the list */ - $order_by = "CASE ID WHEN 1 THEN -4 WHEN 2 THEN -3 WHEN 3 THEN -1 WHEN 29 THEN -2 ELSE ID END"; - $resolves = $variations = array(); - $res = $dbh->prepare("SELECT * FROM bugdb_resolves $where $order_by")->execute(array()); + $res = $dbh->prepare("SELECT * FROM bugdb_resolves $where")->execute(array()); if (PEAR::isError($res)) { throw new Exception("SQL Error in get_resolve_reasons"); }

« previous php.webmaster (#11439) next »