Skip to content

Commit

Permalink
Release version 1.1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovtwout committed Dec 13, 2021
1 parent 13df185 commit 43e3860
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Yii Framework Change Log
========================

Version 1.1.25 under development
Version 1.1.25 December 13, 2021
--------------------------------

- Bug #4226: Fix for Gii diff displaying "reset() expects parameter 1 to be array, integer given" (LeoZandvliet, marcovtwout)
Expand Down
5 changes: 5 additions & 0 deletions UPGRADE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ General upgrade instructions
issues to Yii issue tracker.


Upgrading from v1.1.24
----------------------

No significant changes were made.

Upgrading from v1.1.23
----------------------

Expand Down
2 changes: 1 addition & 1 deletion framework/YiiBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class YiiBase
*/
public static function getVersion()
{
return '1.1.25-dev';
return '1.1.25';
}

/**
Expand Down
4 changes: 2 additions & 2 deletions framework/yiilite.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class YiiBase
private static $_logger;
public static function getVersion()
{
return '1.1.25-dev';
return '1.1.25';
}
public static function createWebApplication($config=null)
{
Expand Down Expand Up @@ -3003,7 +3003,7 @@ public function validateCsrfToken($event)
case 'DELETE':
$maskedUserToken=$this->getDelete($this->csrfTokenName);
}
if (!empty($maskedUserToken) && $cookies->contains($this->csrfTokenName))
if (!empty($maskedUserToken) && is_string($maskedUserToken) && $cookies->contains($this->csrfTokenName))
{
$securityManager=Yii::app()->getSecurityManager();
$maskedCookieToken=$cookies->itemAt($this->csrfTokenName)->value;
Expand Down

0 comments on commit 43e3860

Please sign in to comment.