From 390d3d3fc4d560e0207a7826d0f81d8a77f84ab0 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 1 May 2012 17:37:18 +1200 Subject: [PATCH] MINOR Fixed broken notice --- forms/SimpleImageField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/SimpleImageField.php b/forms/SimpleImageField.php index d192424cb..37d04b745 100644 --- a/forms/SimpleImageField.php +++ b/forms/SimpleImageField.php @@ -69,7 +69,7 @@ class SimpleImageField extends FileField { function __construct($name, $title = null, $value = null) { - Deprecation::notice('3.0', "Use UploadField with $myField->allowedExtensions = array('jpg', 'gif', 'png')"); + Deprecation::notice('3.0', "Use UploadField with \$myField->allowedExtensions = array('jpg', 'gif', 'png')"); if(count(func_get_args()) > 3) Deprecation::notice('3.0', 'Use setRightTitle() and setFolderName() instead of constructor arguments');