I have sql error after I book repeat entries: weekly, n-repeat etc.:
Fatal error: Column 'rep_opt' specified twice
But daily repeats works just fine.
How can I fix this?
info: mrbs -datepicker svn rev.1417
Ok I fixed it by myself. The problem is in file mrbs_sql.inc : line 275 :
// special case - rep_opt
// pgsql doesn't like empty strings
$sql_col = $key;
$sql_val = (empty($data[$key])) ? "'0'" : "'" . addslashes($data[$key]) . "'";
I deleted this part and repet entries work good now.
You seem to have CSS turned off.
Please don't fill out this field.
Fixed in SVN Rev 1418. (The fix suggested below won't work for PostgreSQL. The problem was that the break statement was missing at the end of the rep_opt case.)
Made available in MRBS 1.4.5.
Sign up for the SourceForge newsletter: