Assembla home | Assembla project page
 

Changeset 112

Show
Ignore:
Timestamp:
03/03/08 21:59:38 (9 months ago)
Author:
Seldaek
Message:

* Command: Fixed calling of commands with optional parameters

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Abstract/Command.php

    r95 r112  
    6161                $method = 'onDo' . ucfirst($command); 
    6262                if (empty ($params)) { 
    63                     if (!$this->methods[$command][0]) { 
     63                    if (!$this->methods[$command][1]) { 
    6464                        $this->$method(); 
    6565                    }