mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
This commit is contained in:
@@ -60,7 +60,7 @@ function resize($filename, $width, $height)
|
||||
imagejpeg($image_p, $filename, 80);
|
||||
|
||||
imagedestroy($image_p);
|
||||
imagedestroy($image);
|
||||
@imagedestroy($image);
|
||||
}
|
||||
|
||||
$user = get_uid();
|
||||
|
||||
@@ -245,10 +245,14 @@ if ($aktion=='stpl_move' || $aktion=='stpl_set')
|
||||
elseif ($aktion=='stpl_delete_single' || $aktion=='stpl_delete_block')
|
||||
{
|
||||
$lehrstunde=new lehrstunde();
|
||||
foreach ($stpl_id as $stundenplan_id)
|
||||
|
||||
if(isset($stpl_id))
|
||||
{
|
||||
$lehrstunde->delete($stundenplan_id,$db_stpl_table);
|
||||
$error_msg.=$lehrstunde->errormsg;
|
||||
foreach ($stpl_id as $stundenplan_id)
|
||||
{
|
||||
$lehrstunde->delete($stundenplan_id,$db_stpl_table);
|
||||
$error_msg.=$lehrstunde->errormsg;
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($res_id))
|
||||
|
||||
Reference in New Issue
Block a user