Skip to content

Commit 43e3860

Browse files
committed
Release version 1.1.25
1 parent 13df185 commit 43e3860

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework Change Log
22
========================
33

4-
Version 1.1.25 under development
4+
Version 1.1.25 December 13, 2021
55
--------------------------------
66

77
- Bug #4226: Fix for Gii diff displaying "reset() expects parameter 1 to be array, integer given" (LeoZandvliet, marcovtwout)

UPGRADE

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ General upgrade instructions
1818
issues to Yii issue tracker.
1919

2020

21+
Upgrading from v1.1.24
22+
----------------------
23+
24+
No significant changes were made.
25+
2126
Upgrading from v1.1.23
2227
----------------------
2328

framework/YiiBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class YiiBase
8787
*/
8888
public static function getVersion()
8989
{
90-
return '1.1.25-dev';
90+
return '1.1.25';
9191
}
9292

9393
/**

framework/yiilite.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class YiiBase
4141
private static $_logger;
4242
public static function getVersion()
4343
{
44-
return '1.1.25-dev';
44+
return '1.1.25';
4545
}
4646
public static function createWebApplication($config=null)
4747
{
@@ -3003,7 +3003,7 @@ public function validateCsrfToken($event)
30033003
case 'DELETE':
30043004
$maskedUserToken=$this->getDelete($this->csrfTokenName);
30053005
}
3006-
if (!empty($maskedUserToken) && $cookies->contains($this->csrfTokenName))
3006+
if (!empty($maskedUserToken) && is_string($maskedUserToken) && $cookies->contains($this->csrfTokenName))
30073007
{
30083008
$securityManager=Yii::app()->getSecurityManager();
30093009
$maskedCookieToken=$cookies->itemAt($this->csrfTokenName)->value;

0 commit comments

Comments
 (0)