- add_depends($params{page}, $params{totalpages}, presence => 1);
- add_depends($params{page}, $params{donepages}, presence => 1);
+ add_depends($params{page}, $params{totalpages}, deptype("presence"));
+ add_depends($params{page}, $params{donepages}, deptype("presence"));