user: Fix a wrong variable name

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-01-23 20:14:02 +01:00
parent ae0284d07b
commit e87e3b7cc1

View File

@@ -723,7 +723,7 @@ class User {
function canViewVersion($oVersion)
{
/* If there is no id that means data must have been generated by the user */
if(!$this->iVersionId)
if(!$oVersion->iVersionId)
return true;
/* if the version isn't queued */