Merge pull request #1857 from srini85/master
return null rather than casting to int if the id is null
This commit is contained in:
		@@ -84,7 +84,7 @@ trait Import
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return (int) $id;
 | 
			
		||||
        return $id == null ? null : (int) $id;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getItemId($row)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user