Thomas Bruederli
2013-04-10 2741d8ecedb156773328750be0d09ecc89afa4bd
program/lib/Roundcube/rcube_image.php
@@ -124,6 +124,7 @@
            }
            if ($result === '') {
                @chmod($filename, 0600);
                return $type;
            }
        }
@@ -183,6 +184,7 @@
            }
            if ($result) {
                @chmod($filename, 0600);
                return $type;
            }
        }
@@ -223,6 +225,7 @@
            $result = rcube::exec($convert . ' 2>&1 -colorspace RGB -quality 75 {in} {type}:{out}', $p);
            if ($result === '') {
                @chmod($filename, 0600);
                return true;
            }
        }
@@ -256,6 +259,7 @@
            }
            if ($result) {
                @chmod($filename, 0600);
                return true;
            }
        }