Notice: Undefined index: in /var/www/scms/cms/html/adm/commoneditor/commoneditor.php on line 117

Notice: Undefined index: login_user_id in /var/www/scms/cms/html/adm/commoneditor/commoneditor.php on line 148
▲[error]
1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND del_date IS NULL' at line 4

SELECT *
  FROM ms_user
 WHERE user_id = 
   AND del_date IS NULL