]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-signup.php
Updated more parts to latest API
[mailer.git] / inc / extensions / ext-signup.php
index 2a5abca7bde08ec9e43581a7fa6ae36261eef58b..211697fd60f202792858998303317edbb17efaec 100644 (file)
@@ -112,7 +112,7 @@ PRIMARY KEY (`id`)",
                addMemberMenuSql('main', 'signup', 'SignUp-Aktionen', 7);
 
                // Add entry to sponsor registry
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_registry` (`ext_name`, `is_active`, `admin_id`, `stamp_added`) VALUES ('signup', 'N', '".GET_ADMIN_ID($_COOKIE['admin_login'])."', '".time()."')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_sponsor_registry` (`ext_name`, `is_active`, `admin_id`, `stamp_added`) VALUES ('signup', 'N', {%%pipe,getCurrentAdminId%%}, NOW())");
 
                // Sponsor menu
                addSponsorMenuSql('actions', 'signup', 'SignUp-Aktion', 'N', 2);