Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 11] Warning: array_push(): First argument should be an array in

kamikaze-qscm
Discussion topic

Back to topic list

[Issue 11] Warning: array_push(): First argument should be an array in

Author jduprey
Full name John Duprey
Date 2004-09-23 20:14:35 PDT
Message http://kamikaze-qscm​.tigris.org/issues/s​how_bug.cgi?id=11



User jduprey changed the following:

                  What |Old value |New value
====================​====================​====================​====================​
                    Status|NEW |RESOLVED
--------------------​--------------------​--------------------​--------------------​
                Resolution| |FIXED
--------------------​--------------------​--------------------​--------------------​




------- Additional comments from jduprey at tigris dot org Thu Sep 23 20:14:32 -0700 2004 -------
I believe the problem is with joins that do NOT have any resources associated
with them.

I've put a check to avoid this potential problem:
if( defined( $row["resource"] ) &&
    defined( $row["action"] ) )
{
  array_push(
    $this->parsedRes​ults[$curRep][$cur​Rev]["resources"],
    array( "path" => $row["resource"],
       "action" => $row["action"] ) );
}

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@k​amikaze-qscm.tigris.​org
For additional commands, e-mail: issues-help@kamikaze​-qscm.tigris.org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 11] Warning: array_push(): First argument should be an array in jduprey John Duprey 2004-09-23 20:14:35 PDT
Messages per page: