index 4784011debc98d82186e748fdbf6297acc7882a3..ea355b2e3937a2c08108555cc388d385942807ab 100644 (file)
$ret = $p->parse($script);
if(!$ret){
$this->scripts[$key]['MSG'] = "<font color='red'>".$p->status_text."</font>";
- $this->scripts[$key]['STATUS'] = _("Parse failed");
+ $this->scripts[$key]['STATUS'] = _("Parse failed")."<font color='red'>".$p->status_text."</font>";
}else{
$this->scripts[$key]['STATUS'] = _("Parse successful");
}
foreach($this->scripts as $key => $script){
if($script['EDITED']){
$data = $script['PARSER']->get_sieve_script();
- if(!$this->sieve_handle->sieve_sendscript($script['NAME']."1", $data)){
+ if(!$this->sieve_handle->sieve_sendscript($script['NAME'], $data)){
gosa_log("Failed to save sieve script named '".$script['NAME']."': ".to_string($this->sieve_handle->error_raw));
$everything_went_fine = FALSE;
print_red(to_string($this->sieve_handle->error_raw));