@shadyvb I'm getting an error here:

> Warning: Invalid argument supplied for foreach()

It seems that `$diffs` is a string not an array.