@@ -222,7 +222,7 @@
  *   Available translations as retreived from remote server.
  */
 function l10n_update_flag_history($available) {
-  if ($history = l10n_update_get_history()) {
+  if ($history === \l10n_update_get_history()) {
     foreach($history as $name => $project) {
       foreach ($project as $langcode => $current) {
         if (isset($available[$name][$langcode])) {