Skip to content
Snippets Groups Projects
Commit 5e8bba34 authored by Julian Maurice's avatar Julian Maurice
Browse files

Fix Trait_Indexable::unindex for PHP < 5.5

parent 04494756
Branches
Tags
1 merge request!715Master
......@@ -59,7 +59,8 @@ trait Trait_Indexable {
public function unindex() {
$alpha_key = $this->getAlphaKey();
if (empty($domains = $this->getDomaines())) {
$domains = $this->getDomaines();
if (empty($domains)) {
Class_NoticeDomain::deleteBy(['record_alpha_key' => $alpha_key,
'panier_id' => 0]);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment