]> git.pld-linux.org Git - packages/php-pear-HTML_Select.git/blob - php-pear-HTML_Select-case.patch
- rebuild with new PEAR provides/requires scripts
[packages/php-pear-HTML_Select.git] / php-pear-HTML_Select-case.patch
1 --- ./Select.php.org    Thu Feb 26 15:15:04 2004
2 +++ ./Select.php        Mon Aug  9 14:57:26 2004
3 @@ -157,7 +157,7 @@
4      function loadArray($arr, $values=null)
5      {
6          if (!is_array($arr)) {
7 -            return new PEAR_ERROR('First argument to HTML_Select::loadArray is not a valid array');
8 +            return new PEAR_Error('First argument to HTML_Select::loadArray is not a valid array');
9          }
10          if (isset($values)) {
11              $this->setSelectedValues($values);
12 @@ -182,7 +182,7 @@
13      function loadValueArray($arr, $values = null)
14      {
15          if (!is_array($arr)) {
16 -            return new PEAR_ERROR("First argument to HTML_Select::loadArray is not a valid array");
17 +            return new PEAR_Error("First argument to HTML_Select::loadArray is not a valid array");
18          }
19          if (isset($values)) {
20              $this->setSelectedValues($values);
21 @@ -213,7 +213,7 @@
22          
23          if (!is_object($result) || (strtolower(get_class($result)) != "db_result" && 
24              is_subclass_of($result, "db_result"))) {
25 -            return new PEAR_ERROR("First argument to HTML_Select::loadDbResult is not a valid DB_result");
26 +            return new PEAR_Error("First argument to HTML_Select::loadDbResult is not a valid DB_result");
27          }
28           if (isset($values)) {
29              $this->setSelectedValues($values);
This page took 0.054844 seconds and 3 git commands to generate.