Dolphin714 - bug - onEventLocationManuallyUpdated

In function onEventLocationManuallyUpdated the part is missing or hardcoded with 'location_manually_updated'

Same for the EntryId

    function onEventLocationManuallyUpdated ($sPart, $iEntryId, $aLocation)
    {
        bx_import('BxDolAlerts');
        $oAlert = new BxDolAlerts('bx_wmap', 'location_manually_updated', $iProfileId, $this->_iProfileId, array('location' => $aLocation));
        $oAlert->alert();
    }

 

I suggest changing the function to:

    function onEventLocationManuallyUpdated ($sPart, $iEntryId, $aLocation)
    {
        bx_import('BxDolAlerts');
        $oAlert = new BxDolAlerts('bx_wmap', $sPart, $iEntryId, $this->_iProfileId, array('location' => $aLocation));
        $oAlert->alert();
    }

 

 

* Updated post with info about $iEntryId

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 30 Aug 2013

Thank you for pointing this out:

http://www.boonex.com/trac/dolphin/ticket/3284

Rules → http://www.boonex.com/terms
Quote · 1 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.