Commit 5f30fa40 authored by Clément Damiens's avatar Clément Damiens

fix notnull custom

parent 6e789d70
......@@ -3363,7 +3363,7 @@ var directory = {
params.imgProfil = "<i class='fa fa-image fa-2x'></i>";
params.imgMediumProfil = "<i class='fa fa-image fa-2x'></i>";
}
if("undefined" != typeof directory.custom
if("undefined" != typeof directory.custom && notNull(directory.custom)
&& typeof directory.custom.results != "undefined"
&& typeof directory.custom.results[params.type] != "undefined"
&& typeof directory.custom.results[params.type].defaultImg != "undefined")
......
Markdown is supported
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