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? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -