CMS MADE SIMPLE FORGE

Availability

 

[#4150] Error action.admin_edit_event.php

avatar
Created By: Giorgio Graffieti (protempore)
Date Submitted: Tue Oct 06 18:19:25 -0400 2009

Assigned To: Robert Campbell (calguy1000)
Version: 1.7
CMSMS Version: None
Severity: None
Resolution: Fixed
State: Open
Summary:
Error action.admin_edit_event.php
Detailed Description:
line 193:

$query = 'DELETE FROM '.AVAILABILITY_TABLE_RSRC_EVENTS.'
                       WHERE event_id = ?';
	    $db->Execute($query,(int)$params['eventid']);

debug:
(mysql): DELETE FROM cms_module_availability_rsrc_events
                       WHERE event_id = ?<br>
Error (1064): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '?' at
line 2

solution:
$query = 'DELETE FROM '.AVAILABILITY_TABLE_RSRC_EVENTS.'
                       WHERE event_id = '.(int)$params['eventid'];
	    $db->Execute($query);



History

Comments
avatar
Date: 2009-10-07 09:34
Posted By: Robert Campbell (calguy1000)

fixed in svn.
      
Updates

Updated: 2009-10-07 09:34
resolution_id: 5 => 7

Updated: 2009-10-06 18:21
version_id: -1 => 28162
resolution_id: => 5