summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpegatino.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pegatino.pl b/pegatino.pl
index 2799c75..1fa884b 100755
--- a/pegatino.pl
+++ b/pegatino.pl
@@ -37,5 +37,5 @@ close $newh;
unlink $origpath, $newpath;
print encode_json({type => 'DOCUMENT', caption => 'Tenga, ayúdese',
- content => encode_base64 $newimg, '',
+ content => encode_base64($newimg, ''),
filename => 'cosa.png'});