From 371dfb61d050158c248d12a8fd6cce72aeae0f00 Mon Sep 17 00:00:00 2001 From: dvz Date: Fri, 7 Oct 2022 18:19:42 +0200 Subject: [PATCH] Change deprecated syntax --- inc/plugins/pluginlibrary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/plugins/pluginlibrary.php b/inc/plugins/pluginlibrary.php index 72be8d2..9eeee25 100644 --- a/inc/plugins/pluginlibrary.php +++ b/inc/plugins/pluginlibrary.php @@ -111,7 +111,7 @@ function settings($name, $title, $description, $list, $makelang=false) 'description' => $db->escape_string($description)); // Check if the group already exists. - $query = $db->simple_select("settinggroups", "gid", "name='${group['name']}'"); + $query = $db->simple_select("settinggroups", "gid", "name='{$group['name']}'"); if($row = $db->fetch_array($query)) {