if (!$au) {
$this->jerr("Not authenticated", array('authFailure' => true));
}
+ if (!method_exists($au,'pid')) { print_r($au); }
if (!$au->pid() ) { // not set up yet..
$this->jerr("Not authenticated", array('authFailure' => true));
}
$this->sessionState(0);
$res = $x->find();
$this->sessionState(1);
-
+
if (false === $res) {
$this->jerr($x->_lastError->toString());
$old = false;
// not sure if this is a good idea here...
- var_dump($_REQUEST['_ids']);exit;
+
if (!empty($_REQUEST['_ids'])) {
$ids = explode(',',$_REQUEST['_ids']);
$x->whereAddIn($this->key, $ids, 'int');
$q_filtered = array();
$keys = $x->keys();
- // var_dump($keys);exit;
+
foreach($q as $key=>$val) {
if (in_array($key,$keys) && !is_array($val)) {
}
-
+
switch($key) {