projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2c08d
)
fix invoice uplaoding in light of database config where you absolutely need ->set_bin...
author
ivan
<ivan>
Thu, 4 Sep 2008 02:44:26 +0000
(
02:44
+0000)
committer
ivan
<ivan>
Thu, 4 Sep 2008 02:44:26 +0000
(
02:44
+0000)
httemplate/edit/process/invoice_logo.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/invoice_logo.html
b/httemplate/edit/process/invoice_logo.html
index
757fa94
..
524d325
100644
(file)
--- 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");