Hello all,<div><br></div><div>I&#39;m using the flags module. How can i check if a user is flagged? </div><div><br></div><div>$flag = flag_get_flag(&#39;student_has_project&#39;); </div><div>$flag-&gt;is_flagged($user-&gt;uid);</div>
<div><br></div><div>Is this correct? I can&#39;t find it in official documentation.</div><div><br></div><div>I&#39;m unflagging the user using Rules, but that doesn&#39;t seem to work.</div><div><br></div><div>Best,</div>
<div><br></div><div><br></div><div>Toon</div>