CRM-13973-qa : fix for bug reported by coleman #comment-58354

bug : missed out on <code>static</code> declaration for this function. 

fixed and checked, working fine.