$affects = array();
- $all_links = $GLOBALS['_DB_DATAOBJECT']['LINKS'][$x->_database];
+ $all_links = $x->databaseLinks();
+
foreach($all_links as $tbl => $links) {
foreach($links as $col => $totbl_col) {
$to = explode(':', $totbl_col);
function update($x, $req, $with_perm_check = true)
{
if ( $with_perm_check && !$this->checkPerm($x,'E', $req) ) {
- $this->jerr("PERMISSION DENIED - No Edit permissions on this element???");
+ $this->jerr("PERMISSION DENIED - No Edit permissions on this element");
}
// check any locks..