Change how parameters are handled internally.

This commit is contained in:
Daniele Alessandri
2011-03-09 19:05:12 +01:00
parent b5a89a0f50
commit 82759cd6ec
10 changed files with 95 additions and 107 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ class CustomOption extends Option {
}
public function validate($value) {
return call_user_func($this->_validate, $value);
if (isset($value)) {
return call_user_func($this->_validate, $value);
}
}
public function getDefault() {