Fix php notice in element.php

Get a php notice due to uninitialised variable.

$row replaced with null in call.
Merge pull request #817 from Sophist-UK/fix_php_notice_in_element.php

Fix php notice in element.php