Browse Source

Fix php error

Jaap Marcus 5 years ago
parent
commit
85bd52c96f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/add/user/index.php

+ 1 - 1
web/add/user/index.php

@@ -94,7 +94,7 @@ if (!empty($_POST['ok'])) {
         $subject = _("Welcome to Hestia Control Panel");
         $subject = _("Welcome to Hestia Control Panel");
         $hostname = exec('hostname');
         $hostname = exec('hostname');
         unset($output);
         unset($output);
-        $from = sprintf(_('MAIL_FROM'),$hostname); /
+        $from = sprintf(_('MAIL_FROM'),$hostname);
 
 
         if (!empty($_POST['v_name'])) {
         if (!empty($_POST['v_name'])) {
             $mailtext = sprintf(_('GREETINGS_GORDON'),$_POST['v_name'])."\r\n";
             $mailtext = sprintf(_('GREETINGS_GORDON'),$_POST['v_name'])."\r\n";