diff admin/application/libraries/hgphp.php @ 24:26ff1899349f

Bug fix: improper can_view function call causing script crash. Enhancement #7 integration - embed a frame showing the hg-generated listing integrated.
author joshjcarrier
date Sat, 15 May 2010 16:21:25 -0700
parents 6f38dd98ff78
children 4543c151a667
line wrap: on
line diff
--- a/admin/application/libraries/hgphp.php	Sat May 15 15:47:59 2010 -0700
+++ b/admin/application/libraries/hgphp.php	Sat May 15 16:21:25 2010 -0700
@@ -234,7 +234,7 @@
 	 */
 	function can_create($r_name)
 	{
-		return can_view($r_name) && $this->_hgwebconf_allow_repo_create;
+		return $this->can_view($r_name) && $this->_hgwebconf_allow_repo_create;
 	}
 	
 	/**
@@ -246,7 +246,7 @@
 	 */
 	function can_update($r_name)
 	{
-		return can_view($r_name) && $this->_hgwebconf_allow_repo_update;
+		return $this->can_view($r_name) && $this->_hgwebconf_allow_repo_update;
 	}
 	
 	/**
@@ -269,7 +269,7 @@
 	 */
 	function can_delete($r_name)
 	{
-		return can_view($r_name) && $this->_hgwebconf_allow_repo_delete;
+		return $this->can_view($r_name) && $this->_hgwebconf_allow_repo_delete;
 	}
 	 
 	/**