Author: david
Date: 2008-11-11 16:23:21 -0800 (Tue, 11 Nov 2008)
New Revision: 1579
Modified:
trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
Log:
Fix calls from repository/update to QubitActor::addProperty() method.
Modified:
trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
===================================================================
--- trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
2008-11-12 00:21:41 UTC (rev 1578)
+++ trunk/qubit/apps/qubit/modules/repository/actions/updateAction.class.php
2008-11-12 00:23:21 UTC (rev 1579)
@@ -152,7 +152,7 @@
{
if (strlen($language_code))
{
- $repository->addProperty('language_of_repository_description',
$language_code, $scope = 'languages');
+ $repository->addProperty('language_of_repository_description',
$language_code, array('scope' => 'languages'));
$this->foreignKeyUpdate = true;
}
}
@@ -168,7 +168,7 @@
{
if (strlen($script_code))
{
- $repository->addProperty('script_of_repository_description',
$script_code, $scope = 'scripts');
+ $repository->addProperty('script_of_repository_description',
$script_code, array('scope' => 'languages'));
$this->foreignKeyUpdate = true;
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---