php 8 compat fix for saving plugin order
This commit is contained in:
parent
e293bc18f3
commit
20de7bd442
@ -369,7 +369,7 @@ if (isset($serendipity['GET']['plugin_to_conf'])) {
|
||||
|
||||
serendipity_plugin_api::update_plugin_owner(
|
||||
addslashes($plugin['id']),
|
||||
addslashes($_POST['serendipity']['ownership'][$plugin['name']])
|
||||
addslashes($_POST['serendipity']['ownership'][$plugin['name'] ?? null] ?? null)
|
||||
);
|
||||
$pos++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user