*** empty log message ***

This commit is contained in:
sebastian 2005-02-24 14:00:15 +00:00
parent 5fc8fb9d42
commit 644d80d120
26 changed files with 245 additions and 196 deletions

View file

@ -65,7 +65,7 @@ class uiScratchPad
function addItem($id)
{
if(!$this->Base->SYSTEMPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]) {
if(!$this->Base->STATIONPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]) {
$this->Base->_retMsg('ScratchPad length is not set in System Preferences, so it cannot be used.');
return false;
}
@ -81,7 +81,7 @@ class uiScratchPad
}
}
$sp = array_merge(array($item), is_array($sp) ? $sp : NULL);
for ($n=0; $n<$this->Base->SYSTEMPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]; $n++) {
for ($n=0; $n<$this->Base->STATIONPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]; $n++) {
if (is_array($sp[$n])) $this->items[$n] = $sp[$n];
}
}