Bug fix WP 4.4
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Jan 2016 18:06:46 +0000 (13:06 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 5 Jan 2016 18:25:02 +0000 (13:25 -0500)
This was effected by wordpress 4.4 update

controllers/front.php

index 610053b..f8fb43f 100644 (file)
@@ -341,7 +341,7 @@ class glm_employment_front
                 'fname'       => $this->fname,
                 'lname'       => $this->lname,
                 'mname'       => $this->mname,
-                'position'    => $this->job
+                'position'    => (isset($this->job) ? $this->job : 'NULL')
             ),
             array(
                 '%s',