1. Michael Gatto
  2. VersionControl_Hg

Commits

Michael Gatto  committed 126ba25

* Fixed bug in array index.

  • Participants
  • Parent commits 1ac54cd
  • Branches default

Comments (0)

Files changed (1)

File Trunk/VersionControl/Hg/Command/Cat.php

View file
  • Ignore whitespace
         if ( is_array($name) ) {
             /* check options separately so we can use them together or
              * on each's own */
-            if ( array_key_exists('to', $name) ) {
+            if ( array_key_exists('name', $name) ) {
                 $this->addOption('output', $name['name']);
             }