"Bug" Payfast.php Fatal Error in Marketplace

Hello,

I think is a compatibility problem but in file Payfast.php in line 180.

if (!is_array($cart) || count($cart) == 0) {
            continue;
        }

Fatal error: 'continue' not in the 'loop' or 'switch' context

Thank you.