Thomas Bruederli
2015-04-17 a3644638aaf0418598196a870204e0b632a4c8ad
plugins/redundant_attachments/redundant_attachments.php
@@ -126,11 +126,12 @@
        $this->_load_drivers();
        if ($args['path'])
          $args['data'] = file_get_contents($args['path']);
        $data = $args['path'] ? file_get_contents($args['path']) : $args['data'];
        unset($args['data']);
        $key  = $this->_key($args);
        $data = base64_encode($args['data']);
        $data = base64_encode($data);
        $status = $this->cache->write($key, $data);