can't sign up for developer so here is the fix file vw_idx_projects.php //Lets remove the unnecessary projects: if ($project_status_filter == -1) { //All // RJG //Don't do nothing because we are going to show evey project // RJG // ^anything // RJG remove sub projects might need to do this elsewhere $key = 0; foreach ($projects as $project) { if ($project['project_id'] != ``$project['project_original_parent']) { unset($projects[$key]); } $key++; } } elseif ($project_status_filter == -2) { //All active $key = 0; foreach ($projects as $project) { //RJG if (!$project['project_active']) { //RJG added removing sub projects might need to do this elsewhere if (!$project['project_active'] || ($project['project_id'] != ``$project['project_original_parent'])) { unset($projects[$key]); } $key++; }

asked 11 Jan '14, 12:04

rjg123456789developer's gravatar image

rjg123456789...
31136
accept rate: 0%

edited 11 Jan '14, 12:06

Can you repost this as a Gist - https://gist.github.com/ - and just include the link here?

(14 Jan '14, 07:31) caseydk ♦♦ caseydk's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×25
×9

question asked: 11 Jan '14, 12:04

question was seen: 297 times

last updated: 14 Jan '14, 07:31

powered by Bitnami OSQA