From fce684d4ce08fc3e395c059ffbadd08cf921bfb5 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 10 Feb 2015 19:44:00 +0000 Subject: [PATCH] Add the ordinal value for an edge case that requires it when it shouldn't be required. --- app/call_broadcast/app_config.php | 4 ++-- app/content/app_config.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/call_broadcast/app_config.php b/app/call_broadcast/app_config.php index b4de8c83e1..2c92b5a4b8 100644 --- a/app/call_broadcast/app_config.php +++ b/app/call_broadcast/app_config.php @@ -54,8 +54,8 @@ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_broadcast_uuid"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "call_call_broadcast_uuid"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "broadcast_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][0] = "call_call_broadcast_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][1] = "broadcast_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; diff --git a/app/content/app_config.php b/app/content/app_config.php index a0262b727c..e5294eee7f 100644 --- a/app/content/app_config.php +++ b/app/content/app_config.php @@ -103,8 +103,8 @@ $z = 0; //field array index $apps[$x]['db'][$y]['table'] = "v_rss"; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rssid"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rss_id"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][0] = "rssid"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][1] = "rss_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; @@ -233,8 +233,8 @@ $z = 0; //field array index $apps[$x]['db'][$y]['table'] = "v_rss_sub"; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rsssubid"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rss_sub_id"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][0] = "rsssubid"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][1] = "rss_sub_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT"; @@ -352,8 +352,8 @@ $z = 0; //field array index $apps[$x]['db'][$y]['table'] = "v_rss_sub_category"; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rsssubcategoryid"; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][] = "rss_sub_category_id"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][0] = "rsssubcategoryid"; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'][1] = "rss_sub_category_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";