Showing 1 changed files with 1 additions and 1 deletions
+1 -1
flightgear/fgaddon.d/fgmembers.hangar
... ...
@@ -89,7 +89,7 @@ function parse_repo_history () {
89 89
             add_record author   ${hangar[name]}
90 90
             add_aircraft
91 91
         else
92
-            sqlite_request "delete from aircrafts where name = '$repo' and hangar = ${hangar[i]}"
92
+            sqlite_request "delete from aircrafts where name = '$repo' and hangar = '${hangar[name]}'"
93 93
         fi
94 94
 
95 95
         newprogress=$((i * 100 / $jq_length))