Permalink
Browse files

id_type default option removed from the xml schemes

  • Loading branch information...
1 parent 1f64ffb commit 9db8839be8d2cd013d831f8e84be6add6d8015e0 Nicholas Valbusa committed Apr 7, 2012
@@ -17,7 +17,6 @@
<field id="id_type" column="true" kind="numeric">
<type>hidden</type>
<list>true</list>
- <default>{id}</default>
</field>
<field id="date_insert" column="true" kind="numeric">
<type>hidden</type>
@@ -26,7 +26,6 @@
<field id="id_type" column="true" kind="numeric">
<type>hidden</type>
<list>true</list>
- <default>{id}</default>
</field>
<field id="published" column="true" kind="numeric">
<type>hidden</type>
@@ -561,7 +561,6 @@ function parse_scheme($filepath)
'default' => isset($field->default) ? (string)$field->default : ''
);
-
//We automatically add the id_type default value
if ($field_name == 'id_type') {
$content_field['default'] = (int) $content['id'];

0 comments on commit 9db8839

Please sign in to comment.