PDA

View Full Version : Error on importing attachments IPB 1.2


Marco van Herwaarden
Wed 18th Apr '07, 8:00am
ImpEx: 1.80
Source: IPB 1.2
Module: 012 - Import attachment

script tries to process 1 more element then the array holds.

012.php, line ~120:

while($i <= count($counter))
To:

while($i < count($counter))
Or even better:

$attachcount = count($filename);
while($i < $attachcount)

Jerry
Tue 24th Apr '07, 3:10pm
In 1.81