Browse Source

Fix undefined var

Jordi Boggiano 9 years ago
parent
commit
249d97f7cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/StatusCommand.php

+ 1 - 1
src/Composer/Command/StatusCommand.php

@@ -89,7 +89,7 @@ EOT
         }
 
         // output errors/warnings
-        if (!$errors && !$unpushed) {
+        if (!$errors && !$unpushedChanges) {
             $io->writeError('<info>No local changes</info>');
         } elseif ($errors) {
             $io->writeError('<error>You have changes in the following dependencies:</error>');