Not cool, not cool at all
The Weird and The Wonderful
2
Posts
2
Posters
0
Views
1
Watching
-
Was hunting a bug in a PHP plugin, and found this:
do_something($object-id);
PHP told nothing...do_something got the value 1...I spend 20 minutes on that...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
-
Was hunting a bug in a PHP plugin, and found this:
do_something($object-id);
PHP told nothing...do_something got the value 1...I spend 20 minutes on that...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
It's missing the critical piece:
//TODO: Do something with $object
do_something($object-id);"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli