\n";
-if(is_array($basket) && sizeof($basket) > 0 ){
+if(is_array($basket) && !empty($basket)){
foreach($basket as $key=>$item){
echo "
0 ){
pnp::shorten($item)."\n";
}
}
-if(is_array($basket) && sizeof($basket) > 0 ){
+if(is_array($basket) && !empty($basket)){
echo "
\n";
echo "\n";
echo "\n";