Compare commits

..

1 Commits

Author SHA1 Message Date
Simon Wisselink cf10105905 implemented and documented prependTemplateDir. 2024-05-29 15:28:23 +02:00
4 changed files with 2 additions and 19 deletions
-1
View File
@@ -1 +0,0 @@
- Fix Smarty::assign() not returning $this when called with an array as first parameter [#972](https://github.com/smarty-php/smarty/pull/972)
-1
View File
@@ -1 +0,0 @@
- Fixed missing Smarty getErrorUnassigned/setErrorUnassigned methods [#979](https://github.com/smarty-php/smarty/issues/979)
+1 -1
View File
@@ -15,7 +15,7 @@ php utilities/update-smarty-version-number.php $1
git add changelog CHANGELOG.md src/Smarty.php
git commit -m "version bump"
git checkout support/5
git checkout master
git pull
git merge --no-ff "release/$1"
git branch -d "release/$1"
+1 -16
View File
@@ -2227,22 +2227,6 @@ class Smarty extends \Smarty\TemplateBase {
}
/**
* Whether Smarty displays an error when using an unassigned variable
*/
public function getErrorUnassigned(): bool
{
return (bool) $this->error_unassigned;
}
/**
* Set if Smarty should display an error on using an unassigned variable
*/
public function setErrorUnassigned(bool $error_unassigned): void
{
$this->error_unassigned = $error_unassigned;
}
/**
* Sets if Smarty should check If-Modified-Since headers to determine cache validity.
* @param bool $cache_modified_check
* @return void
@@ -2252,3 +2236,4 @@ class Smarty extends \Smarty\TemplateBase {
}
}