1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

#4299: Wrap even more potentially undefined constants

In:
* Admin-UI
* Forums
This commit is contained in:
Nick Liu
2021-07-21 20:23:06 +02:00
parent 389a76efe2
commit 7a04260b5f
3 changed files with 28 additions and 13 deletions

View File

@@ -315,10 +315,10 @@ class e107forum
$postInfo['post_id'] = $this->postAdd($postInfo); // save it.
$postInfo['user_name'] = USERNAME;
$postInfo['user_email'] = USEREMAIL;
$postInfo['user_image'] = USERIMAGE;
$postInfo['user_signature'] = USERSIGNATURE;
$postInfo['user_name'] = defset('USERNAME');
$postInfo['user_email'] = defset('USEREMAIL');
$postInfo['user_image'] = defset('USERIMAGE');
$postInfo['user_signature'] = defset('USERSIGNATURE');
if($_POST['insert'] == 1)
{