if (!$au) {
$this->jerr("Not authenticated", array('authFailure' => true));
}
- if (!$au->pid() ) { // not set up yet..
+ 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...
-
+
if (!empty($_REQUEST['_ids'])) {
$ids = explode(',',$_REQUEST['_ids']);
$x->whereAddIn($this->key, $ids, 'int');
$ar = $x->fetchAll();
- foreach($ar as $x) {echo "here"; exit;
+ foreach($ar as $x) {
$this->update($x, $_REQUEST);
}
// all done..
$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) {