summaryrefslogtreecommitdiffstats
path: root/includes/admin/views
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-14 00:17:57 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-14 00:17:57 +0200
commitf2b9e558b1764cb682dcdd44f4bd1605bb2b22f7 (patch)
treeee91a39cacc69a4a122e0f84cdc2ec4f69446c05 /includes/admin/views
parent4f0454005caa787e9fed33ca33671b7f4ada8a31 (diff)
downloadgigologadmin-f2b9e558b1764cb682dcdd44f4bd1605bb2b22f7.tar.gz
gigologadmin-f2b9e558b1764cb682dcdd44f4bd1605bb2b22f7.tar.bz2
gigologadmin-f2b9e558b1764cb682dcdd44f4bd1605bb2b22f7.zip
Remove obsolete ref to $wpdb.
Diffstat (limited to 'includes/admin/views')
-rw-r--r--includes/admin/views/giglog_admin_page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php
index d3d97c0..7618a10 100644
--- a/includes/admin/views/giglog_admin_page.php
+++ b/includes/admin/views/giglog_admin_page.php
@@ -135,7 +135,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) {
}
static function editforms()
- { global $wpdb;
+ {
$cid = filter_input(INPUT_POST, "cid");
if($_POST['edit']=="EDIT" && !empty($cid)) //A bit overdoing with the checks if concert ID is empty both here and in find_cid. But based on that, things are NULL or not. Better ideas?
$c = GiglogAdmin_Concert::find_cid($cid);