mirror of
https://github.com/smarty-php/smarty.git
synced 2026-08-04 04:24:18 +02:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 287e12c3be | |||
| 768acd96fa | |||
| baa83541d9 | |||
| 6f054ecc2f | |||
| 4fec27ccc2 | |||
| fea0d02d99 |
@@ -0,0 +1 @@
|
||||
- Fix Smarty::assign() not returning $this when called with an array as first parameter [#972](https://github.com/smarty-php/smarty/pull/972)
|
||||
@@ -0,0 +1 @@
|
||||
- Fixed missing Smarty getErrorUnassigned/setErrorUnassigned methods [#979](https://github.com/smarty-php/smarty/issues/979)
|
||||
+1
-1
@@ -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 master
|
||||
git checkout support/5
|
||||
git pull
|
||||
git merge --no-ff "release/$1"
|
||||
git branch -d "release/$1"
|
||||
|
||||
+16
-1
@@ -2227,6 +2227,22 @@ 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
|
||||
@@ -2236,4 +2252,3 @@ class Smarty extends \Smarty\TemplateBase {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user