Running sugar version 5.2.0.
In modules/Administration/index.php the following if block (starting on line 84) results in a new row in the Administration Network table.
Displayed on the page is the 'r' of the word red in one table cell, and a '(' in a second table cell. The '(' is colored red and from what it looks like in the code should have a version number following it. But it doesn't. Has anyone ever seen this behavior before?Code:if(!empty($license->settings['license_latest_versions'])){ $encodedVersions = $license->settings['license_latest_versions']; $versions = unserialize(base64_decode( $encodedVersions)); include('sugar_version.php'); if(!empty($versions)){ foreach($versions as $version){ if($version['version'] > $sugar_version ) { $admin_option_defs['update'][] ='red'; if(!isset($admin_option_defs['update']['additional_label']))$admin_option_defs['update']['additional_label']= '('.$version['version'].')'; } } } }


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks