Hello Paulson,
You did it almost right, the line: "return $error ?: true;" is shorthand ternary operator which doesn't support
by php less then 5.3. We already fixed this issue in the working version of the software and next update will have
this issue fixed. Here the fixed code line:

PHP Code:
Only registered members can view the code
John