From: Steve Sutton Date: Tue, 5 Jan 2016 18:32:32 +0000 (-0500) Subject: Bug fix for WP 4.4 X-Git-Tag: v0.3.4^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=06ae68c6966ee974fedc75ac2be4074db40b0cec;p=WP-Plugins%2Fstaffords-employment.git Bug fix for WP 4.4 wordpress 4.4 you have to specify Null values for posible empty fields. --- diff --git a/controllers/front.php b/controllers/front.php index fe32318..6900500 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -360,7 +360,7 @@ class staffords_employment_front 'fname' => $this->fname, 'lname' => $this->lname, 'mname' => $this->mname, - 'position' => $this->job + 'position' => (isset($this->job) ? $this->job : 'NULL') ), array( '%s', diff --git a/glm-employment.php b/glm-employment.php index 531212d..0994e39 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -2,7 +2,7 @@ /** * Plugin Name: Staffords Employment * Description: Online Employment Application for Staffords - * Version: 0.3.3 + * Version: 0.3.4 * Author: Steve Sutton * Author URI: http://www.gaslightmedia.com * License: All right reserved