[freeside-commits] freeside/httemplate/edit/process invoice_logo.html, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Wed Sep 3 19:44:31 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv15320
Modified Files:
invoice_logo.html
Log Message:
fix invoice uplaoding in light of database config where you absolutely need ->set_binary for swtuf retreived with ->config_binary, RT#3936
Index: invoice_logo.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/invoice_logo.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- invoice_logo.html 20 Feb 2008 01:10:32 -0000 1.2
+++ invoice_logo.html 4 Sep 2008 02:44:26 -0000 1.3
@@ -18,7 +18,7 @@
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");
More information about the freeside-commits
mailing list