]> git.pld-linux.org Git - packages/php.git/blob - php-pear-cosmetic.patch
- release 1.2 ro rebuild with new imap
[packages/php.git] / php-pear-cosmetic.patch
1 --- ./pear/HTML/Select.php.org  Fri Jul 12 19:39:28 2002
2 +++ ./pear/HTML/Select.php      Fri Jul 12 19:39:20 2002
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) || (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.032874 seconds and 3 git commands to generate.