Bläddra i källkod

Fix mysql query host reservation

Espinoza Guillermo 6 år sedan
förälder
incheckning
960c4cf814
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/HostBundle/EventListener/KEAHostReservationSubscriber.php

+ 1 - 1
src/HostBundle/EventListener/KEAHostReservationSubscriber.php

@@ -74,7 +74,7 @@ class KEAHostReservationSubscriber implements EventSubscriber
                 INSERT INTO kea.hosts (dhcp_identifier,
                 dhcp_identifier_type,
                 ipv4_address)
-                VALUES :mac,
+                VALUES (:mac,
                 (SELECT type FROM kea.host_identifier_type WHERE name=:type),
                 INET_ATON(:ip));
                 ";