Download | Plain Text | Line Numbers
diff -Naur html.orig//include/class.Actor.php html/include/class.Actor.php
--- html.orig//include/class.Actor.php 2008-08-21 16:31:57.000000000 +0200
+++ html/include/class.Actor.php 2012-09-24 13:59:55.000000000 +0200
@@ -102,7 +102,7 @@
function CallOnServices ( $ps_Method ) {
$la_Arguments = func_get_args();
- array_unshift ( $la_Arguments, &$this->ma_Services );
+ array_unshift ( $la_Arguments, $this->ma_Services );
call_user_func_array ( array( &$this, "CallOnColumns" ), $la_Arguments );
}
/* -------------------- end services & limits -------------------- */
@@ -171,4 +171,4 @@
}
-?>
\ No newline at end of file
+?>
diff -Naur html.orig//include/class.Data.php html/include/class.Data.php
--- html.orig//include/class.Data.php 2012-09-24 13:36:37.000000000 +0200
+++ html/include/class.Data.php 2012-09-24 13:56:01.000000000 +0200
@@ -248,7 +248,7 @@
{
$row =& new _DataRow($arr);
- return $this->addRow(&$row);
+ return $this->addRow($row);
}
return false;
}
diff -Naur html.orig//include/class.Pager.php html/include/class.Pager.php
--- html.orig//include/class.Pager.php 2008-08-21 16:31:57.000000000 +0200
+++ html/include/class.Pager.php 2012-09-24 13:56:34.000000000 +0200
@@ -107,8 +107,8 @@
/* -------------------- Initialize -------------------- */
function Initialize ( &$po_Source )
{
- $po_Source->SetItemsPerPage ( get_class(&$this) );
- $po_Source->SetSort ( get_class(&$this) );
+ $po_Source->SetItemsPerPage ( get_class($this) );
+ $po_Source->SetSort ( get_class($this) );
$this->ma_ItemsPerPage = array( 5, 10, 20, 50, 100 );
$this->mo_Source =& $po_Source;
@@ -396,7 +396,7 @@
}
elseif ( is_object($lm_Error) )
{
- $lm_Error->AddErrors ( &$this );
+ $lm_Error->AddErrors ( $this );
$this->ShowAddError();
exit;
}
@@ -419,7 +419,7 @@
}
elseif ( is_object($lm_Error) )
{
- $lm_Error->AddErrors ( &$this );
+ $lm_Error->AddErrors ( $this );
// todo: need better processing
}
elseif ( $this->IsEditPage() )
@@ -948,7 +948,7 @@
$lo_Data->AppendFields( $lo_Checkbox );
}
$lo_Data->SetTotal( $lo_Source->TotalElements( $this->ma_SearchColumns ) );
- $lo_Data->SetCookiePrefix( get_class(&$this) );
+ $lo_Data->SetCookiePrefix( get_class($this) );
$lo_Data->SetDefault();
$lo_Data->AppendHidden( new TextDataField( "Y", "ListEdit" ) );
for( $i=0; $i < count( $this->ma_HiddenFields ); $i++ )
diff -Naur html.orig//include/pagers/class.MenuBlocksPager.php html/include/pagers/class.MenuBlocksPager.php
--- html.orig//include/pagers/class.MenuBlocksPager.php 2008-08-21 16:31:57.000000000 +0200
+++ html/include/pagers/class.MenuBlocksPager.php 2012-09-24 13:55:51.000000000 +0200
@@ -70,8 +70,8 @@
$this->ms_ItemsPerPage = intval(ff_GetFromPostGet ("ItemsPerPage"));
elseif( ff_GetFromPostGet("step") )
$this->ms_ItemsPerPage = intval( ff_GetFromPostGet("step") );
- elseif ( array_key_exists( get_class(&$this)."_ItemsPerPage", $_COOKIE ) )
- $this->ms_ItemsPerPage = intval($_COOKIE[get_class(&$this)."_ItemsPerPage"]);
+ elseif ( array_key_exists( get_class($this)."_ItemsPerPage", $_COOKIE ) )
+ $this->ms_ItemsPerPage = intval($_COOKIE[get_class($this)."_ItemsPerPage"]);
else
$this->ms_ItemsPerPage = 10;
$this->ms_StartItem = $this->ms_PageNumber*$this->ms_ItemsPerPage;