mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 18:42:00 -04:00
Refactor HttpInput::Str and rename some exceptions for consistency
This commit is contained in:
parent
2b5f4f55a2
commit
ca3fc6dbfd
54 changed files with 163 additions and 159 deletions
|
@ -39,7 +39,7 @@ class Payment extends PropertiesBase{
|
|||
where UserId = ?
|
||||
', [$this->User->Name, $this->User->UserId]);
|
||||
}
|
||||
catch(Exceptions\InvalidUserException){
|
||||
catch(Exceptions\UserNotFoundException){
|
||||
// User doesn't exist, create it now
|
||||
$this->User->Create();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue