X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Images.php;h=bfda2826ca553b7843eda775815488e85a9443ac;hp=2ce354b243fe846840d4839f40c0e39a54dc2e2d;hb=refs%2Fheads%2Fwip_alan_T6343_generic_progress_bar_delete;hpb=bad8403468109e77a49f30146b04ae8e0e6398e4 diff --git a/Images.php b/Images.php index 2ce354b2..bfda2826 100644 --- a/Images.php +++ b/Images.php @@ -42,7 +42,9 @@ class Pman_Core_Images extends Pman { // tables that do not need authentication checks before serving. - var $public_image_tables = array(); + var $public_image_tables = array( + 'crm_mailing_list_message' // we know these are ok... + ); var $sizes = array( '100', @@ -227,7 +229,7 @@ class Pman_Core_Images extends Pman function post($v) { - if (empty($_REQUEST['_get'])) { + if (!empty($_REQUEST['_get'])) { return $this->get($v); }