mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	now fix it
git-svn-id: http://www.observium.org/svn/observer/trunk@2097 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		| @@ -31,10 +31,13 @@ if ($_POST['editing']) | ||||
|  | ||||
|     $rows_updated = mysql_affected_rows(); | ||||
|  | ||||
|     if ($rows_updated != 0) | ||||
|     if ($rows_updated > 0 || $updated) | ||||
|     { | ||||
|       $update_message = "Device record updated."; | ||||
|       $updated = 1; | ||||
|     } elseif ($rows_updated = '-1') { | ||||
|       $update_message = "Device record unchanged. No update necessary."; | ||||
|       $updated = -1; | ||||
|     } else { | ||||
|       $update_message = "Device record update error."; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user