Upgrade Issues or Bugs

PHP:
        if (is_uuid($uuid)) {
            $sql = "update v_xml_cdr set ";
            $sql .= "record_path = '".$record_path."', ";
            $sql .= "record_name = '".$record_name."' ";
            $sql .= "where uuid = '".$uuid."';\n";
            if ($execute_sql) {
                $db->exec($sql);
            }
            echo $sql."\n";
Should be

PHP:
        if (is_uuid($uuid)) {
            $sql = "update v_xml_cdr set ";
            $sql .= "record_path = '".$record_path."', ";
            $sql .= "record_name = '".$record_name."' ";
            $sql .= "where xml_cdr_uuid = '".$uuid."';\n";
            if ($execute_sql) {
                $db->exec($sql);
            }
            echo $sql."\n";