Browse Source

fix scrutinizer issue : The variable seems only to be defined at a later point

Philippe GRAND 6 years ago
parent
commit
3df83d7cf3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htdocs/contact/class/contact.class.php

+ 2 - 2
htdocs/contact/class/contact.class.php

@@ -940,8 +940,8 @@ class Contact extends CommonObject
 
 		$error=0;
 
-		$this->old_lastname = $obj->lastname;
-		$this->old_firstname = $obj->firstname;
+		//$this->old_lastname = $obj->lastname;
+		//$this->old_firstname = $obj->firstname;
 
 		$this->db->begin();