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

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -