Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_user_subid.php
index 961fd8a815c807a7df73c5f7c271cad203a8b010..111bb4486d645a8ae391131e0ecd1afd44faf884 100644 (file)
@@ -89,7 +89,7 @@ if (isFormSent('edit')) {
        ));
 } elseif ((isGetRequestElementSet('do')) && (isGetRequestElementSet('id'))) {
        // Construct module name
-       $incFile = sprintf("inc/modules/admin/subid-%s.php", SQL_ESCAPE(getRequestElement('do')));
+       $incFile = sprintf("inc/modules/admin/subid-%s.php", sqlEscapeString(getRequestElement('do')));
 
        // Is the include readable and is the sub id assigned to current admin?
        if (!isUserSubIdAssignedToMember(getRequestElement('id'), getRequestElement('userid'))) {