Finished the orders section of the store.
git-svn-id: http://svn.cleancode.org/svn/pickles@120 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
parent
3e58d2c659
commit
4e1006d3cd
11 changed files with 4708 additions and 145 deletions
|
@ -97,9 +97,10 @@ class Error extends Object {
|
|||
* Determines if there are any stored errors or warnings
|
||||
*
|
||||
* @return boolean Whether or not there are any errors or warnings.
|
||||
* @todo Rename this to something like hasError()... not sure why I called it isError()
|
||||
*/
|
||||
public function isError() {
|
||||
if (isset($this->errors, $this->warnings)) {
|
||||
if (isset($this->errors) || isset($this->warnings)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue