coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://s2.images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | GM 1.6.1 has issues with multiple connected files « Thread Started on Nov 16, 2006, 11:11pm » | |
Versions Affected: GreyMatter 1.6.1 Severity: Moderate Issue Description: Only GM installations with multiple connected files are affected.The code that examines 'connected files' depends on each file name being seperated by the characters '|*|' but as of version 1.6.1 is seperated by the newline character '\n'.
This defect was introduced by the assumption that whenever a config parameter is retrieved from the file, that the internal newline ('|*|') was replaced with the regular newline, however, for the connected files, the switch is made later.
Resolution: This is an easy defect to fix and requires that two lines of code be changed in the gm-library.cgi file. Lines 2502 and 10060. From:
Code:| @connectedfilelist = split (/\|\*\|/, $otherfilelist); |
|
To:
Code:| @connectedfilelist = split ('\\n', $otherfilelist); |
|
Again, my apologies for not catching this in my testing phase.
| |
|