Error when adding schedule (days of week)

After applying the latest beta update, I noticed an error after adding a schedule via the admin centre:

Warning: implode() [function.implode]: Invalid arguments passed in /home/plusair/public_html/admin/modules/Operations/Operations.php on line 514

The fix to this (as identified by a dev friend of mine) is to the input sanitisation in Vars.class.php

public static function cleaned(&$V)
{
	if(is_array($V)) {
		foreach($V as $k => $val) {
			$V[$k] = self::cleaned($val);
		}

		return $V;
	}

	return htmlspecialchars(addslashes(stripslashes($V)));
}

Hope this helps anybody suffering from the same error.

Thanks, I corrected the error for the next build, but also fixed it in the operations class.