[Chameleon-dev] [Bug 1411] Problems with layer legend widget and Postgis Layer.

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Apr 11 11:19:20 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1411





------- Additional Comments From jlacroix at mapgears.com  2006-04-11 11:19 -------
I'm not currently setup with PoastGIS can ou try this:

In C:\ms4w\apps\chameleon\htdocs\widgets\LayerAttributes.php on line 188:

Add this if() around the foreach:

if($oShape->values)
{
    foreach($oShape->values as $key => $value)
    {
        $aszAttributes['fields'][$key] = "string";
    }
}
else
    $aszAttributes['fields'] = array();

Does it fix the problem?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list