user: Fix a wrong variable name
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user