From 8f53a8a14634260a9c188b8ca8cefd8c671bf6c5 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 19 May 2009 00:30:56 +0000 Subject: fixed bug with deletion of watermark foreground mask --- actions/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/upload.php') diff --git a/actions/upload.php b/actions/upload.php index 78d4b7889..fae8f8eae 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -183,7 +183,7 @@ $commands[] = $im_path . 'composite -compose CopyOpacity "' . $user_stamp_base . "_mask" . $ext . '" "' . $user_stamp_base . '_fgnd' . $ext . '" "' . $user_stamp_base . $ext . '"'; $commands[] = $im_path . 'mogrify -trim +repage "' . $user_stamp_base . $ext . '"'; $commands[] = 'rm "' . $user_stamp_base . '_mask' . $ext . '"'; - $commands[] = 'rm "' . $user_stamp_fgnd . '_mask' . $ext . '"'; + $commands[] = 'rm "' . $user_stamp_base . '_fgnd' . $ext . '"'; foreach( $commands as $command ) { exec( $command ); -- cgit v1.2.3