Hi
File: import.php
This simply doesn't make any sense to me.
202 // In case no memory limit we work on 10MB chunks
203 if ($memory_limit = -1) {
204 $memory_limit = 10 * 1024 * 1024;
205 }
Shouldn't line 203 be:
if ($memory_limit == -1)
There is no reason that I can see why one couldn't assign -1 to the variable. I have to assume this is supposed to be ==.
Glen
Fixed in subversion, thanks for reporting.
that's why *I* have the habbit to write:
if ( -1 == $memory_limit ) {
...
;)