[pmwiki-users] code bug in pmwiki.php? (Was: Gemini skin - problem with two actions)

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 18 07:56:32 CST 2005


On Thu, Mar 17, 2005 at 08:44:35AM +0000, Hans wrote:
> Thursday, March 17, 2005, 8:11:23 AM, Hans wrote:
> > In function FormatTableRow($x) pmwiki.php line 803 it reads:
> 
> >     for ($colspan=1;$i+$colspancount($td);$colspan++)
> 
> > should this read:
> 
> >    for ($colspan=1;$i+$colspan<count($td);$colspan++)
> 
> sorry this seems to be a false alarm.
> The code in the distribution reads as the second quote.
> But in Dreamweaver for some mystical reasons it reads like the first
> quote.
> 
> Moral:
> Don't use Dreamweaver to read or edit pmwiki.php.
> Strange things will happen if you do!

Dreamweaver doesn't really know how to edit PHP files -- it can't
understand the syntax properly and it often sees '<' and other characters
as being improperly formatted HTML (which it then tries to fix for you).

Of course, the other question is, why are you editing pmwiki.php in
the first place... ?  ;-)

Pm



More information about the pmwiki-users mailing list