5
geoffgibbs made this recommendation regarding the Agenda-X apostrophe/quotation mark bug. I applied it and it seems to have fixed the problem...
Find the file "/modules/agendax/addevent.inc.php" and change:
$query = "insert into ".XOOPS_DB_PREFIX."_agendax_events
values('',NULL,NULL,'$title','$description','$contact','$url',
'$email','$foto','$cat','$startDate','0',$modif_date,
$modif_time,'0','2','0','0','0','$approve', '$submit_by', '$type', '$access')";
to
$query = "insert into ".XOOPS_DB_PREFIX."_agendax_events
values('', NULL, NULL, '".addslashes($title)."','".addslashes($description)."',
'".addslashes($contact)."','".addslashes($url)."',
'".addslashes($email)."','".addslashes($foto)."',
'".addslashes($cat)."','$startDate','0',
$modif_date,$modif_time,'0','2','0','0','0','$approve',
'$submit_by', '$type', '$access')";
I'm guessing the ".addslashes" is a Smarty Template Engine thing.