diff program/lib/Roundcube/rcube_contacts.php @ 25:bea5a38be938

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Sat, 18 Oct 2025 12:24:31 -0400
parents aff04b06b685
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_contacts.php	Fri Oct 17 17:31:22 2025 -0400
+++ b/program/lib/Roundcube/rcube_contacts.php	Sat Oct 18 12:24:31 2025 -0400
@@ -203,6 +203,7 @@
      */
     function list_records($cols = null, $subset = 0, $nocount = false)
     {
+      $join = "";
         if ($nocount || $this->list_page <= 1) {
             // create dummy result, we don't need a count now
             $this->result = new rcube_result_set();
@@ -481,6 +482,7 @@
      */
     private function _count()
     {
+      $join = "";
         if ($this->group_id)
             $join = " LEFT JOIN " . $this->db->table_name($this->db_groupmembers, true) . " AS m".
                 " ON (m.`contact_id` = c.`".$this->primary_key."`)";