From 20b0a8ef6e264f9974b122c5c0c253e78ecee42f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 19 Feb 2008 23:04:12 +0000 Subject: [PATCH] Merged revisions 49843 via svnmerge from svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq ........ r49843 | ischommer | 2008-02-20 12:03:49 +1300 (Wed, 20 Feb 2008) | 1 line added $casting for BaseHref() ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49837 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/ViewableData.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/ViewableData.php b/core/ViewableData.php index f76c888d3..2462b4658 100644 --- a/core/ViewableData.php +++ b/core/ViewableData.php @@ -889,7 +889,9 @@ class ViewableData extends Object implements Iterator { * Object-casting information for class methods * @var mixed */ - public static $casting = null; + public static $casting = array( + 'BaseHref' => 'Varchar' + ); /** * Keep a record of the parent node of this data node.