return; // standard update...
}
- if ( !$this->onUpload($this)) {
- $roo->jerr("File upload failed : ". $this->err);
+
+// print_r(!$this->onUpload($this));
+
+ if ( !$this->onUpload($this)) {
+ $roo->jerr("File upload failed : ". (!empty($this->err) ? $this->err : ''));
}
$roo->addEvent("ADD", $this, $this->toEventString());
return $this->filename .' - on ' . $this->ontable . ':' . $this->onid;
//$p->toEventString();
}
+
}