Incidencia #9589

Only variables...
Abrir Fecha: 2006-12-20 21:52 Última actualización: 2007-10-17 15:40

Informador:
Propietario:
Tipo:
Estado:
Open [Owner assigned]
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
Ninguno

Details

PHP5 系ならおぶじぇくとは参照渡しが基本に変更されてるか
ら問題ないみたいだけど

>Notice [PHP]: Only variables should be assigned by
reference in file

がいっぱい出ちゃいます
とりあえず気付いたところを・・・


/class/Assetmanager.class.php

L26
function getSingleton()
→function &getSingleton()

L40
function create($type, $name)
→function &create($type, $name)

L59
function _fallbackCreate($type, $name)
→function &_fallbackCreate($type, $name)

L91
function load($type, $name)
→function &load($type, $name)

L104
function _createHandler($name)
→function &_createHandler($name)

L112
function &_createFilter($name)
→function &_createFilter($name)

L140
function _createActionForm($name)
→function &_createActionForm($name)

L169
function _createInstance($className, $filePath)
→function &_createInstance($className, $filePath)



Action 全般

function _getHandler()
→function &_getHandler()


ListAction 全般

function _getFilterForm()
→function &_getFilterForm()


こんなかんじで

Ticket History (3/5 Histories)

2006-12-22 00:30 Updated by: minahito
Comentario
Logged In: YES
user_id=8353

ありがとうございます。

昔は PHP5 で動かないというケースが多かったので PHP5 にスイッ
チしたままでやってるのですが、たまには PHP4 に戻してやらない
とまずいですね...^^;

さっそくなおします。
2006-12-22 00:30 Updated by: minahito
  • Propietario Update from (Ninguno) to minahito
2007-03-08 16:25 Updated by: minahito
Comentario
Logged In: YES
user_id=8353

びっくりしたんですが、
内部で「参照を返す」フラグを立てておくと自動的にそういう PHP
コードを吐いてくれるはずのクラスが、その処理を怠っていたこと
が発覚 orz

とりあえずリビルドします。。
2007-05-25 11:53 Updated by: minahito
  • Resolución Update from Ninguno to Fixed
Comentario
Logged In: YES
user_id=8353

Fixed.
たぶん

→要・確認
2007-10-17 15:40 Updated by: tom_g3x
Comentario
Logged In: YES
user_id=6745

「転載済」
http://sourceforge.net/tracker/index.php?func=detail&aid=1814886&group_id=184930&atid=996868

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar