Better error message to save looking in the wrong place.

This commit is contained in:
Wez Furlong 2004-05-21 16:36:37 +00:00
parent 3a5e5ca4d4
commit e419d735c4

View File

@ -1076,7 +1076,7 @@ class PEAR_Common extends PEAR
if (!isset($info['version'])) {
$errors[] = 'missing version';
} elseif (!$this->validPackageVersion($info['version'])) {
$errors[] = 'invalid package version';
$errors[] = 'invalid package release version';
}
if (empty($info['release_state'])) {
$errors[] = 'missing release state';