rob
Administrator
This line looks wrong to me:
it should be
(single = means assign 2 to $linktype, double == means is 2 equal to $linktype, and triple === means is 2 equal to link type and the the same type (string, integer etc)
Code:
if (!empty($path) and $linktype=2)
it should be
Code:
if (!empty($path) and $linktype == 2)
(single = means assign 2 to $linktype, double == means is 2 equal to $linktype, and triple === means is 2 equal to link type and the the same type (string, integer etc)