Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -372,7 +372,7 @@ abstract class _Item
|
||||
{
|
||||
/* If one is set to be associated with something in the cart and the other is set to be associated
|
||||
with an existing purchase, trying to compare those will throw an error */
|
||||
if ( $item->parent or $this->parent )
|
||||
if ( isset( $item->parent ) and isset( $this->parent ) )
|
||||
{
|
||||
if ( \gettype( $this->parent ) != \gettype( $item->parent ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user