mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Bugfix - Mailversand an Betreuer beim doppelten Upload von Projektarbeiten
This commit is contained in:
@@ -212,7 +212,8 @@ if($command=='add')
|
||||
updatevon = '".addslashes($user)."',
|
||||
updateamum = now()
|
||||
WHERE paabgabe_id='".addslashes($paabgabe_id)."'";
|
||||
$result=$db->db_query($qry);
|
||||
if($db->db_query($qry))
|
||||
echo '<font color="green">'.$p->t('global/erfolgreichgespeichert').'</font><br>';
|
||||
$command="update";
|
||||
}
|
||||
else
|
||||
@@ -287,6 +288,7 @@ if($command=="update" && $error!=true)
|
||||
$htmlstr .= "<input type='hidden' name='titel' value='".$titel."'>\n";
|
||||
$htmlstr .= "<input type='hidden' name='uid' value='".$uid."'>\n";
|
||||
$htmlstr .= "<input type='hidden' name='betreuer' value='".$betreuer."'>\n";
|
||||
$htmlstr .= "<input type='hidden' name='bid' value='".$bid."'>\n";
|
||||
$htmlstr .= "<input type='hidden' name='command' value='add'>\n";
|
||||
$htmlstr .= "<tr>\n";
|
||||
$htmlstr .= "<td><b>".$p->t('abgabetool/spracheDerArbeit').":</b></td><td>";
|
||||
|
||||
@@ -27,18 +27,15 @@
|
||||
* für Diplom- und Bachelorarbeiten
|
||||
*******************************************************************************************************/
|
||||
|
||||
require_once('../../config/cis.config.inc.php');
|
||||
require_once('../../include/basis_db.class.php');
|
||||
if (!$db = new basis_db())
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
|
||||
|
||||
require_once('../../include/functions.inc.php');
|
||||
require_once('../../include/studiengang.class.php');
|
||||
require_once('../../include/datum.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
require_once('../../include/Excel/excel.php');
|
||||
require_once('../../config/vilesci.config.inc.php');
|
||||
require_once('../../include/functions.inc.php');
|
||||
require_once('../../include/studiengang.class.php');
|
||||
require_once('../../include/datum.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
|
||||
|
||||
if(!isset($_POST['uid']))
|
||||
{
|
||||
$uid = (isset($_GET['uid'])?$_GET['uid']:'-1');
|
||||
|
||||
Reference in New Issue
Block a user