From 9529d73fac629b06567c9d6e1b7fc365ba86beda Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 28 Jun 2013 00:14:14 +0000 Subject: [PATCH] Correct a variable name from _id to _uuid. --- app/schemas/schema_data_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas/schema_data_edit.php b/app/schemas/schema_data_edit.php index 57feb5507f..ba8d25beed 100644 --- a/app/schemas/schema_data_edit.php +++ b/app/schemas/schema_data_edit.php @@ -956,7 +956,7 @@ else { //get the child schema_uuid and use it to show the list of data $sql = "select * from v_schemas "; $sql .= "where domain_uuid = '$domain_uuid' "; - $sql .= "and schema_parent_id = '$schema_uuid' "; + $sql .= "and schema_parent_uuid = '$schema_uuid' "; $prep_statement = $db->prepare($sql); $prep_statement->execute(); $result = $prep_statement->fetchAll(PDO::FETCH_NAMED);