summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-01-30 16:11:52 +0000
committerChristian Fowler <spider@viovio.com>2009-01-30 16:11:52 +0000
commit20a3778db22071c613ced57e1c60d54b7d97f80c (patch)
treea046bac9078adcea71b637c08cfea75358b89560
parent465391a3f8114f57892c737016612ecc5f42a22f (diff)
downloadliberty-20a3778db22071c613ced57e1c60d54b7d97f80c.tar.gz
liberty-20a3778db22071c613ced57e1c60d54b7d97f80c.tar.bz2
liberty-20a3778db22071c613ced57e1c60d54b7d97f80c.zip
pass pFunctionParam by reference in invokeServices so service methods can alter parmater hash if need be, such as in the content_verify_function method
-rw-r--r--LibertyContent.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/LibertyContent.php b/LibertyContent.php
index 8555d51..8835e42 100644
--- a/LibertyContent.php
+++ b/LibertyContent.php
@@ -3,7 +3,7 @@
* Management of Liberty content
*
* @package liberty
-* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.392 2009/01/28 21:29:10 tekimaki_admin Exp $
+* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.393 2009/01/30 16:11:52 spiderr Exp $
* @author spider <spider@steelsun.com>
*/
@@ -351,6 +351,7 @@ class LibertyContent extends LibertyBase {
if( !empty( $pParamHash['force_history'] ) || ( empty( $pParamHash['minor'] ) && $this->getField( 'version' ) && $pParamHash['field_changed'] )) {
if( empty( $pParamHash['has_no_history'] ) ) {
+vd( $pParamHash ); die;
$this->storeHistory();
}
//$action = "Created";
@@ -816,7 +817,7 @@ class LibertyContent extends LibertyBase {
/**
* Set up access to services used by the object
*/
- function invokeServices( $pServiceFunction, $pFunctionParam=NULL ) {
+ function invokeServices( $pServiceFunction, &$pFunctionParam=NULL ) {
global $gLibertySystem;
$errors = array();
// Invoke any services store functions such as categorization or access control