my cakephp app throws me that error,on that line:
class List extends AppModel {
and i cannot understand why.
the whole List.php model file is:
<?php
App::uses('AuthComponent', 'Controller/Component');
class List extends AppModel {
public function beforeSave($options = array()) {
if (isset($this->data[$this->alias]['password'])) {
$this->data[$this->alias]['password'] = AuthComponent::password($this->data[$this->alias]['password']);
}
return true;
}
?>
Does anybody has an idea why this is happening?
thank you!