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

Trying to resize the image in the comments
Hey everyone, Basically I am trying to make the images in the comments smalle...
9 Replies
Posted on Wednesday, 12 August 2009
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
2 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
error message when adding/cofiguring email address
When configuring the email plugin that send a email message to admin when a new ...
0 Replies
Posted on Friday, 09 May 2025
CMigrator: Path from Drupal 6 to J5?
(Category s/b CMigrator, but didn't see it on the list) I'm interested in usi...
0 Replies
Posted on Monday, 28 April 2025
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