Changeset 397


Ignore:
Timestamp:
07/23/10 12:13:23 (11 years ago)
Author:
sander
Message:

Fixed a bug that caused the modified field to not be updated when a validator runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/models/validator.php

    r393 r397  
    7373 
    7474                // Save the validator result to the satabase 
    75                 $this->data['Validator']['state']    = $validator->state; 
    76                 $this->data['Validator']['response'] = $validator->response; 
    77                 $this->save(); 
     75                $this->save(array( 
     76                        'state'    => $validator->state, 
     77                        'response' => $validator->response, 
     78                )); 
    7879        } 
    7980 
Note: See TracChangeset for help on using the changeset viewer.