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

Link to maps.google.de in default.php
Hi, i have a question about the default.php under hotspot. i want to integrate...
1 Replies
Posted on Sunday, 19 May 2024
  • New
  • Veranstaltung im Frontend sichtbar obwohl nicht ve
    Hallo, folgendes Problem stellt sich mir: Wenn ich eine Veranstaltung dupl...
    4 Replies
    Posted on Friday, 09 February 2024
    Suche bei der Matukio - Fehler Ö Ä Ü..
    Hallo, evtl. könnt ihr mir weiterhelfen. Bei mir funktioniert die suche bei ...
    3 Replies
    Posted on Wednesday, 15 May 2024
  • New
  • When is CComment compatible with Joomla 5?
    When is CComment compatible with Joomla 5?...
    4 Replies
    Posted on Tuesday, 05 December 2023
    • #CComment
    • #Joomla 5
    _MATUKIO_NO_EVENTS appears in the frontend if no e
    Hello, there ist still the problem, that on the frontpage appears COM_MATUKIO...
    2 Replies
    Posted on Sunday, 12 May 2024
  • New