drupal - Opposite of php integer -


i have script:

if ($flag && $flag->is_flagged(arg(1))) {   return true; } 

how can return true if not flagged? please me.

add not condition !

if ($flag && !$flag->is_flagged(arg(1))) {     return true; } 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -