Fix error in plugin class query (custom tabs)

1.10.x
Yannick Warnier 10 years ago
parent 1c10593a1e
commit 70672121d0
  1. 3
      main/inc/lib/plugin.class.php

@ -621,8 +621,9 @@ class Plugin
*/
public function deleteTab($key)
{
$t = Database::get_main_table(TABLE_MAIN_SETTINGS_CURRENT);
$sql = "SELECT *
FROM settings_current
FROM $t
WHERE variable = 'show_tabs'
AND subkey <> '$key'
AND subkey like 'custom_tab_%'

Loading…
Cancel
Save