While I'm not fluent in spanish, the gist I get from the article is that it was vetoed and sent back to Congress in 2006; perhaps it has only been passed recently?
You are absolutely right, in the first article it says the president vetoed the law the first time in 2006. Nevertheless the law was approved by congress in April of this year, so it appears like the NYTimes article is a few months late.