Parcourir la source

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

Philippe GRAND il y a 6 ans
Parent
commit
3df83d7cf3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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();