JJR512 it shouldn't.
There is no difference as far as the private.php script goes between $pmreceipt=="yes" and just $pmreceipt not NULL.
For some reason, the preview hack alters the "yes". But it's still either NULL (empty) or not (has value).
So, the original code does:
Code:
if ($pmreceipt=="yes") {
return 1;
} else {
return 0;
}
My fix does:
Code:
if ($pmrecepit) { //does $pmreceipt have a value?
return 1;
} else {
return 0;
}
Hope I;m clear
Cheers,
Bira