Merge branch '1.3-misc' into write-route

This commit is contained in:
mark_story 2009-11-28 23:04:22 -05:00
commit d70689ecda
3 changed files with 2 additions and 20 deletions

View file

@ -297,7 +297,7 @@ class Dispatcher extends Object {
$params['action'] = 'index';
}
if (isset($params['form']['data'])) {
$params['data'] = Router::stripEscape($params['form']['data']);
$params['data'] = $params['form']['data'];
unset($params['form']['data']);
}
if (isset($_GET)) {

View file

@ -1933,7 +1933,7 @@ class DboSource extends DataSource {
} else {
$data = $this->__quoteFields($key) . ' IN (';
}
if ($quoteValues || strpos($value[0], '-!') !== 0) {
if ($quoteValues) {
if (is_object($model)) {
$columnType = $model->getColumnType($key);
}

View file

@ -28,24 +28,6 @@
*/
class String {
/**
* Gets a reference to the String object instance
*
* @return object String instance
* @access public
* @static
* @deprecated
*/
function &getInstance() {
trigger_error('String::getInstance() is deprecated. All String methods are called statically.', E_USER_WARNING);
static $instance = array();
if (!$instance) {
$instance[0] =& new String();
}
return $instance[0];
}
/**
* Generate a random UUID
*