diff options
author | ivan <ivan> | 2008-09-04 02:44:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-09-04 02:44:26 +0000 |
commit | 973f8f53c1c2e6bf1252589c1e0693569b974f5e (patch) | |
tree | 708e4f69e84434d5a8ea6937dde822485de40e47 /httemplate/edit | |
parent | 3e2c08dba947ea254c60cbd621776c0f5dddb2e8 (diff) |
fix invoice uplaoding in light of database config where you absolutely need ->set_binary for swtuf retreived with ->config_binary, RT#3936
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/invoice_logo.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/invoice_logo.html b/httemplate/edit/process/invoice_logo.html index 757fa94b7..524d32542 100644 --- a/httemplate/edit/process/invoice_logo.html +++ b/httemplate/edit/process/invoice_logo.html @@ -18,7 +18,7 @@ $cgi->param('preview_session') =~ /^(\w*)$/ or die "illegal preview_session"; my $session = $1; my $data = decode_base64( $curuser->option("logo_preview$session") ); -$conf->set("logo$name.$type", $data); +$conf->set_binary("logo$name.$type", $data); $cgi->redirect(popurl(3). "edit/invoice_logo.html?type=$type;name=$name;msg=Logo%20changed"); |