diff options
| author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 11:05:20 +0000 | 
|---|---|---|
| committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 11:05:20 +0000 | 
| commit | 197d7f7aea7f39cc9b0c817b7c3debf04340bb84 (patch) | |
| tree | af5d1772a0c14ac75a0bd0705d4425b64e5c5d0c | |
| parent | c61e25ccc22fc4ab0e629d8ff019b210312ded63 (diff) | |
| download | elgg-197d7f7aea7f39cc9b0c817b7c3debf04340bb84.tar.gz elgg-197d7f7aea7f39cc9b0c817b7c3debf04340bb84.tar.bz2 | |
Marcus Povey <marcus@dushka.co.uk>
* REMOVED DEBUG
* WARNING!!! THERE IS A PHP BUG ON UBUNTU/APACHE2/PHP5 that will prevent metadata from functioning. Values appear to get unset.
No fix known.
git-svn-id: https://code.elgg.org/elgg/trunk@354 36083f99-b078-4883-b0ff-0f9b5a30f544
| -rw-r--r-- | engine/lib/entities.php | 4 | ||||
| -rw-r--r-- | mod/tasklist/start.php | 4 | 
2 files changed, 3 insertions, 5 deletions
| diff --git a/engine/lib/entities.php b/engine/lib/entities.php index c463f5227..cff2f03a6 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -114,10 +114,10 @@  		{  			$md = get_metadata_byname($this->getGUID(), $name); -		//	if ($md) +			if ($md)  				return $md->value; -		//	return null; +			return null;  		}  		/** diff --git a/mod/tasklist/start.php b/mod/tasklist/start.php index 6247041f4..6b3ae4880 100644 --- a/mod/tasklist/start.php +++ b/mod/tasklist/start.php @@ -29,9 +29,7 @@  		// Task  		$task = $entity->getMetaData("task"); -print_r($task); -print_r($entity);		 -echo "TSD : $task" . gettype($task); +  		// Render the item  		return elgg_view("tasklist/item", array(  			"owner_id" => $entity->owner_guid, | 
