This commit is contained in:
Andreas Österreicher
2009-08-20 11:47:56 +00:00
parent ae73d03080
commit e5941d2463
5 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ function resize($filename, $width, $height)
imagejpeg($image_p, $filename, 80);
imagedestroy($image_p);
imagedestroy($image);
@imagedestroy($image);
}
$user = get_uid();
+7 -3
View File
@@ -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))