Changeset 17881
- Timestamp:
- 10/02/08 16:27:14 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/org.openpsa.invoices/handler/edit.php
r17865 r17881 191 191 $_MIDCOM->auth->require_valid_user(); 192 192 193 $this->_request_data['invoice'] = $this->_load_invoice($args[0]);194 if ( !$this->_request_data['invoice'])193 $this->_request_data['invoice'] = new org_openpsa_invoices_invoice($args[0]); 194 if ($this->_request_data['invoice']->guid == "") 195 195 { 196 196 return false; … … 253 253 $_MIDCOM->auth->require_valid_user(); 254 254 255 $this->_request_data['invoice'] = $this->_load_invoice($args[0]);256 if ( !$this->_request_data['invoice'])255 $this->_request_data['invoice'] = new org_openpsa_invoices_invoice($args[0]); 256 if ($this->_request_data['invoice']->guid == "") 257 257 { 258 258 return false;
