Last modified: 2004-08-31 02:53:35 UTC
Using "0" (Zero) as an article name leads to strange results:
* Entering 0 in the search field does not get you to the article, but to a
search page, just as if you had not entereed anything.
* Linking to the article "00" from inside "0" does not produce a link but a bold
"00", just as if "0" and "00" where identical for the software.
This leads me to think that in many places, == ist used to compare the
article-id instead of ===, and "not" is used to check if the name is empty,
instead of === "" and isset. The implicite conversion of strings to numbers in
PHP does make things tricky sometime - a string just containing a zero is equal
to False, an empty string is too. PHP is just not a nice language...
This problem will probably also occurr with article-names like "0815", wich
would be identical to "815", etc.
Fixed in 1.4 CVS and for 1.3.3. Fix installed live.