... | ... |
@@ -66,7 +66,7 @@ class Serialization{ |
66 | 66 |
foreach($registeredTypes as $rtype){ |
67 | 67 |
$t = explode("/", $type); |
68 | 68 |
$rt = explode("/", $rtype); |
69 |
- if(($t[0]=="*" || $rt[0]=="*" || $t[0]==$t[0]) && ($t[1]=="*" || $rt[1]=="*" || $t[1]==$t[1])){ |
|
69 |
+ if(($t[0]=="*" || $rt[0]=="*" || $t[0]==$rt[0]) && ($t[1]=="*" || $rt[1]=="*" || $t[1]==$rt[1])){ |
|
70 | 70 |
return $rtype; |
71 | 71 |
} |
72 | 72 |
} |