1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 18:24:57 +02:00

Fix typo in Modules.php that makes moduleInfo[versionStr] return 0.0.0 rather than correct version string

This commit is contained in:
Ryan Cramer
2023-05-22 16:06:05 -04:00
parent d455ab71cb
commit 797d6c9b37

View File

@@ -4981,7 +4981,7 @@ class Modules extends WireArray {
*/
protected function loadModuleInfoCacheVerbose($uninstalled = false) {
$name = $uninstalled ? self::moduleInfoCacheUninstalledName : self::moduleInfoCacheVerboseName;
if($this->useModuleInfoCols === false && !$uninstalled) return true;
if($this->useModuleInfoCols === true && !$uninstalled) return true;
$data = $this->wire()->cache->get($name);
if($data) {
if(is_array($data)) {