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

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Sat, 18 Oct 2025 12:24:31 -0400
parents 929c05ba3b2f
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_result_thread.php	Fri Oct 17 17:31:22 2025 -0400
+++ b/program/lib/Roundcube/rcube_result_thread.php	Sat Oct 18 12:24:31 2025 -0400
@@ -74,7 +74,7 @@
             return;
         }
 
-        $data = array_first($data);
+        $data = array_shift($data);
         $data = trim($data);
         $data = preg_replace('/[\r\n]/', '', $data);
         $data = preg_replace('/\s+/', ' ', $data);