mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
- added __toString method to the Smarty_Variable class
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
18/06/2010
|
||||
- added __toString method to the Smarty_Variable class
|
||||
|
||||
|
||||
14/06/2010
|
||||
- make handling of Smarty comments followed by newline BC to Smarty2
|
||||
|
||||
|
||||
===== RC2 =====
|
||||
|
||||
|
||||
|
||||
13/06/2010
|
||||
- bugfix Smarty3 did not handle hexadecimals like 0x0F as numerical value
|
||||
- bugifx Smarty3 did not accept numerical constants like .1 or 2. (without a leading or trailing digit)
|
||||
|
@@ -445,6 +445,11 @@ class Smarty_Variable {
|
||||
$this->nocache = $nocache;
|
||||
$this->scope = $scope;
|
||||
}
|
||||
|
||||
public function __toString ()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user