// if already accepted skip data entry
$accepted = legal_version_check($account->uid, $conditions['tc_id']);
if ($accepted == TRUE) break;
legal_save_accept($account->uid, $conditions['tc_id']);
break;
will,
legal_version_check return $log_messages as false, but this is just text and will compare as true,
do strong compare with === , please
Comments
Comment #1
robert castelo commentedFixed in Drupal 6 version.