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

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

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

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -