diff program/lib/Roundcube/rcube_addressbook.php @ 27:c32b53434b47

more compensation for deprecated empty cases
author Charlie Root
date Sun, 18 Jan 2026 14:20:29 -0500
parents bea5a38be938
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_addressbook.php	Sat Oct 18 12:24:31 2025 -0400
+++ b/program/lib/Roundcube/rcube_addressbook.php	Sun Jan 18 14:20:29 2026 -0500
@@ -197,7 +197,7 @@
      */
     function set_sort_order($sort_col, $sort_order = null)
     {
-      if ($sort_col != null && ((!empty($this->coltypes[$sort_col]) || in_array($sort_col, $this->coltypes))) {
+      if ($sort_col != null && (!empty($this->coltypes[$sort_col]) || in_array($sort_col, $this->coltypes))) {
             $this->sort_col = $sort_col;
         }
         if ($sort_order != null) {