ginatrapani/ThinkUp — pull request #1334 by perep (2012-05-14 12:25:38+00:00)
Title: A correction to the 'isAccountPage' function

Hello, we are working in a research project (SOCIALMEDIA PROJECT, http://www.cenitsocialmedia.es/) which uses thinkUp. During our work we have found a little bug in your code, and we have also found a possible solution for it.

The return value of the isAccoutPage function seems to be wrong. The 'type' attribute belongs to the account metadata.

With this new conditional expression, both places are evaluated, and if in any one the attribute is present and the value is 'page', then the return value is true.

DISCLAIMER: SOCIALMEDIA PROJECT - CEN-20101037 - This contribution has been kindly sponsored by the Centro para el Desarrollo Tecnológico Industrial within the Programa de Investigación Nacional Español CENIT. - http://www.cenitsocialmedia.es/