From: Alan Knowles Date: Thu, 18 Nov 2010 08:13:19 +0000 (+0800) Subject: Lock.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0cf00b854aa7a4efe39dbb13b84df9f83d5656c3 Lock.php --- diff --git a/Lock.php b/Lock.php index c6642c89..c3ee5520 100644 --- a/Lock.php +++ b/Lock.php @@ -23,9 +23,9 @@ class Pman_Core_Lock extends Pman // default action is to attempt to lock.. if (empty($_REQUEST['on_id']) || empty($_REQUEST['on_table'])) { - + $this->jerr("Missing table or id"); } - $tab = str_replace('/', '',$tab); // basic protection?? + $tab = str_replace('/', '',$_REQUEST['on_table']); // basic protection?? $x = DB_DataObject::factory($tab); }