Changeset 856

Show
Ignore:
Timestamp:
03/30/08 16:16:01 (8 months ago)
Author:
doubleface
Message:

ticket #529: small mistake in jCmdUtils in branch 1.0x p=doubleface r=laurentj

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0.x/lib/jelix/utils/jCmdUtils.class.php

    r778 r856  
    4747            if (count($argv) == 0) { 
    4848                if ($needed) { 
    49                     throw new jException('jelix~errors.cli.param.missing', $argv[0]); 
     49                    throw new jException('jelix~errors.cli.param.missing', $pname); 
    5050                } else { 
    5151                    break; 
  • branches/1.0.x/lib/jelix/utils/jCmdUtils.class.php

    r778 r856  
    4747            if (count($argv) == 0) { 
    4848                if ($needed) { 
    49                     throw new jException('jelix~errors.cli.param.missing', $argv[0]); 
     49                    throw new jException('jelix~errors.cli.param.missing', $pname); 
    5050                } else { 
    5151                    break; 
  • branches/1.0.x/lib/jelix/utils/jCmdUtils.class.php

    r778 r856  
    4747            if (count($argv) == 0) { 
    4848                if ($needed) { 
    49                     throw new jException('jelix~errors.cli.param.missing', $argv[0]); 
     49                    throw new jException('jelix~errors.cli.param.missing', $pname); 
    5050                } else { 
    5151                    break; 
Download in other formats: Unified Diff Zip Archive