diff options
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | ext/standard/info.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -16,6 +16,8 @@ PHP NEWS - Core . Removed warning when argument of is_a() or is_subclass_of() is not a known class. (Stas) + . Fixed bug #55258 (Windows Version Detecting Error). + ( xiaomao5 at live dot com, Pierre) . Fixed bug #55187 (readlink returns weird characters when false result). (Pierre) . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia) diff --git a/ext/standard/info.c b/ext/standard/info.c index 09fc2346e3..90ae34f0bc 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -289,7 +289,7 @@ char* php_get_windows_name() major = "Windows Server 2008"; } } else - if ( osvi.dwMinorVersion == 2 ) { + if ( osvi.dwMinorVersion == 1 ) { if( osvi.wProductType == VER_NT_WORKSTATION ) { major = "Windows 7"; } else { |
