Fix error with ' . closes #2388

Conflicts:
	inc/collect_registry.class.php
	inc/deploygroup.class.php
	inc/lock.class.php
	inc/taskjob.class.php
	inc/unknowndevice.class.php