Author: Tobias Schlitt
Date: 2007-04-13 15:22:53 +0200 (Fri, 13 Apr 2007)
New Revision: 4877

Log:
- Another issue in this method.

Modified:
   trunk/ConsoleTools/src/input.php

Modified: trunk/ConsoleTools/src/input.php
===================================================================
--- trunk/ConsoleTools/src/input.php    2007-04-13 13:15:25 UTC (rev 4876)
+++ trunk/ConsoleTools/src/input.php    2007-04-13 13:22:53 UTC (rev 4877)
@@ -245,7 +245,7 @@
         {
             throw new ezcConsoleOptionNotExistsException( $option->long );
         }
-        if ( isset( $this->optionShort[$short] ) || isset( $optionLong[$long] 
) )
+        if ( isset( $this->optionShort[$short] ) || isset( 
$this->optionLong[$long] ) )
         {
             throw new ezcConsoleOptionAlreadyRegisteredException( isset( 
$this->optionShort[$short] ) ? "-$short" : "--$long" );
         }

-- 
svn-components mailing list
[EMAIL PROTECTED]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to