diff --git a/flag.rules.inc b/flag.rules.inc
index 8069b29..06d2562 100644
--- a/flag.rules.inc
+++ b/flag.rules.inc
@@ -452,7 +452,7 @@ function flag_rules_condition_threshold($flag, $entity, $number, $operator = '='
  * Condition: Flag is flagged.
  */
 function flag_rules_condition_flagged($flag, $entity, $account) {
-  return $flag->is_flagged($flag->get_entity_id($entity), $account->uid);
+  return $flag->is_flagged($flag->get_entity_id($entity), $account);
 }
 
 /**
