1 (edited by Jansson 2005-07-18 20:06)

Topic: Rickard: Just a minor thing I dont get

In profile, and it might exist in other files, you can find this on line 1351:

substr($entry, strlen($entry)-4)

Why not simply use substr($entry, -4)? tongue


EDIT: And on the line under there is substr($entry, 0, strlen($entry)-4), where substr($entry, 0, -4) works just fine.

Re: Rickard: Just a minor thing I dont get

I believe you're absolutely right. I'll put it on the list.

"Programming is like sex: one mistake and you have to support it for the rest of your life."