1. Andre Wester
  2. Sherlock Holmes
  3. General
  4. Saturday, 21 December 2013
  5.  Subscribe via email
Hi Yves,

ich verzweifle langsam :-) Hab die Änderung, wie von Dir geschrieben, vorgenommen. Funktioniert leider immer noch nicht mit der Storno-Bestätigungsmail. Muss noch wo anders was geändert werden?

Hier nochmal der Remove-Part aus /administrator/components/com_matukio/Controllers/bookings.php, wie er jetzt bei mir ist:

public function remove()
{
$cid = JFactory::getApplication()->input->get('cid', array(), 'array');
$db = JFactory::getDBO();

if (count($cid))
{
$cids = implode(',', $cid);

// Notify users
if (MatukioHelperSettings::_("notify_participants_delete", 1))
{
$db->setQuery("SELECT * FROM #__matukio_bookings WHERE id IN (" . $cids . ";)";);
$bookings = $db->loadObjectList();

if ($db->getErrorNum())
{
throw new Exception($db->getErrorMsg(), 42);
}

foreach ($bookings AS $b)
{
MatukioHelperUtilsEvents::sendBookingConfirmationMail($b->semid, $b->id, 3);
}
}

$query = "DELETE FROM #__matukio_bookings where id IN ( $cids )";
$db->setQuery($query);

if (!$db->execute())
{
throw new Exception($db->getErrorMsg(), 42);
}
}

$this->setRedirect('index.php?option=com_matukio&view=bookings');
}

/**

LG André
Responses (4)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download
Set number of hotspots / user groups
Hi, I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025