$name = $fmt;
$fmt = array();
}
+ if (is_string($fmt)) {
+ $fmt = array('fmt' => $fmt);
+ }
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;
$name = $fmt;
$fmt = array();
}
+ if (is_string($fmt)) {
+ $fmt = array('fmt' => $fmt);
+ }
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;