Closed (fixed)
Project:
Legal
Version:
5.x-1.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2008 at 14:37 UTC
Updated:
10 Apr 2011 at 01:21 UTC
// 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.