Recent Topics

1 Jul 12, 2006 06:24    

Just discovered that for searching b2evo uses the variable name 's'.

GRRRR, I spent around 15 minutes trying to find out why their was a number in the search box the whole time.

When its because i commonly use;
$s = sizeof($my_array);
for ( ....

Now, heres my proposals;

A) Give them a decent names, like $b2evo_search instead of $s
or
B) Stick all b2evo variables into a class, so $Settings->search
or
C) Stick all b2evo variables into a array, so $b2evo['search'].

Please do something about this!

2 Jul 12, 2006 06:27

I'm not a very good programmer, but it sounds good to me!


Form is loading...