Thomas Bruederli
2013-04-10 b413bb2b6022a67ae87d1f21ef20158400c6365d
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;
            }
        }