Quote:
Originally Posted by mini2
Possibly a typo? Could you post that line and I can compare?
|
Line 341:
Context - lines 321 to 362
PHP Code:
if ($imginfo[2] != 1 AND $imginfo[2] != 2 AND $imginfo[2] != 3)
{ // .gif, .jpg, .png
if ($showerrors)
{
@unlink($filename);
if ($incp)
{
print_stop_message('the_uploaded_file_is_not_valid');
}
else
{
eval(print_standard_error('error_imagenotimage'));
}
}
else
{
return false;
}
}
}
else
{
if (!$vboptions['allowimgsizefailure'])
{
if ($showerrors)
{
@unlink($filename);
if ($incp)
{
print_stop_message('the_uploaded_file_is_not_valid');
}
else
{
eval(print_standard_error('error_imagenotimage'));
}
}
else
{
return false;
}
}
}