diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-12 15:10:40 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-12 15:10:40 +0000 |
commit | 0d865cc02b0115d3ffbf31f9bad4d48b62488c1f (patch) | |
tree | 1ca2016ba24b41b83b55ae5fb71eec54bd61f55e /includes/database/schema.inc | |
parent | 641102f8a58dae93dcbfcf7f5b6622d39f88cd99 (diff) | |
download | brdo-0d865cc02b0115d3ffbf31f9bad4d48b62488c1f.tar.gz brdo-0d865cc02b0115d3ffbf31f9bad4d48b62488c1f.tar.bz2 |
#851140 by Damien Tournoud: Fixed DatabaseSchema::getPrefixInfo() is *severely* broken.
Diffstat (limited to 'includes/database/schema.inc')
-rw-r--r-- | includes/database/schema.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/schema.inc b/includes/database/schema.inc index 07212418f..d7ae5eb36 100644 --- a/includes/database/schema.inc +++ b/includes/database/schema.inc @@ -187,7 +187,7 @@ abstract class DatabaseSchema implements QueryPlaceholderInterface { // contains a schema reference in which case we will change the schema key // to the value before the period in the prefix. Everything after the dot // will be prefixed onto the front of the table. - if ($pos = strpos($info['prefix'], '.') !== FALSE) { + if (($pos = strpos($info['prefix'], '.')) !== FALSE) { // Grab everything before the period. $info['schema'] = substr($info['prefix'], 0, $pos); // Grab everything after the dot, and prefix on to the table. |