Fix for PHP spewing notices from commit a373d07ae0

Please test with error_reporting set to E_ALL!

Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
This commit is contained in:
Brion Vibber
2009-11-16 15:36:30 -08:00
parent a99198ba94
commit 6f9b909211
3 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ class UserFlagPlugin extends Plugin
$schema = Schema::get();
// For storing user-submitted flags on profiles
$schema->ensureDataObject(User_flag_profile);
$schema->ensureDataObject('User_flag_profile');
return true;
}