From b27351533f22076a6741ca3ba9516bc4cef822e8 Mon Sep 17 00:00:00 2001 From: NoBone Date: Mon, 22 Apr 2013 16:17:29 +0300 Subject: [PATCH] Update Widget.php --- code/model/Widget.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/model/Widget.php b/code/model/Widget.php index ef41766..b51b835 100644 --- a/code/model/Widget.php +++ b/code/model/Widget.php @@ -20,6 +20,8 @@ class Widget extends DataObject { public static $defaults = array( 'Enabled' => true ); + + public static $only_available_in = array(); public static $has_one = array( "Parent" => "WidgetArea",