#14 Create unique key

open
nobody
None
5
2009-03-14
2009-03-14
Anonymous
No

Hi. I'm sorry for my English.
I'm using gladius 0.8.0 (edited by me).
In line 169 of gladius_create.php there is an error.
$this->offset = $unique_raw[0][1]+strlen($unique_raw[0][0]);
But print_r($unique_raw) return Array ( [0] => KEY comment_approved (comment_approved) [1] => comment_approved ) because the preg_match function hasn't got PREG_OFFSET_CAPTURE.

Discussion