Browse Source

pfad statt path

pull/1/head
Georg Spar 1 year ago
parent
commit
470cbc9559
  1. 2
      wdmdb.go

2
wdmdb.go

@ -348,7 +348,7 @@ func ShowItemB() (itemBArray []Itemb, err error) {
}
log.Println("DB Verbindung hergestellt (ItemB SHOW)")
defer conn.Close()
results, err := conn.Query("SELECT a.*, b.path FROM itemb a, photos b WHERE a.frontviewid=b.id")
results, err := conn.Query("SELECT a.*, b.pfad FROM itemb a, photos b WHERE a.frontviewid=b.id")
if err != nil {
log.Fatal("Error while executing SELECt statement", err)
}

Loading…
Cancel
Save