Piotr Labudda 7 vuotta sitten
vanhempi
commit
40e226ad78

+ 0 - 3
SE/se-lib/Core/AclSimpleSchemaBase.php

@@ -375,9 +375,6 @@ class Core_AclSimpleSchemaBase extends Core_AclBase {
           // });
           // });
           foreach ($this->getXsdFieldParam($fieldName, 'aliasMap') as $itemFieldName => $alias) {
           foreach ($this->getXsdFieldParam($fieldName, 'aliasMap') as $itemFieldName => $alias) {
             DBG::_('DBG_ACL', '>1', "aliasMap({$itemFieldName} => {$alias})", $item[$itemFieldName], __CLASS__, __FUNCTION__, __LINE__);
             DBG::_('DBG_ACL', '>1', "aliasMap({$itemFieldName} => {$alias})", $item[$itemFieldName], __CLASS__, __FUNCTION__, __LINE__);
-            //if($itemFieldName=='LINK_PROBLEMS')
-            //	$link = str_replace("{{$alias}}", $item[$itemFieldName],   str_replace($link,'"','test')   ); // bledy z cudzyslowami w <a href=\"mailto:?
-            //else //to nie tutaj - ciezko wysledzic
             $link = str_replace("{{$alias}}", $item[$itemFieldName], $link);
             $link = str_replace("{{$alias}}", $item[$itemFieldName], $link);
           }
           }
           $item[$fieldName] = $link;
           $item[$fieldName] = $link;

+ 1 - 0
SE/se-lib/FeatureAttrSelected.php

@@ -113,6 +113,7 @@ class FeatureAttrSelected {
 	static function _prepareUserTable($typeName, $idUser) {
 	static function _prepareUserTable($typeName, $idUser) {
 		$tableName = self::getAttributeTableName($typeName, $idUser);
 		$tableName = self::getAttributeTableName($typeName, $idUser);
 		// TODO: primaryKey type from $acl
 		// TODO: primaryKey type from $acl
+		// TODO: table name limit to 64 chars
 		DB::getPDO()->execSql("
 		DB::getPDO()->execSql("
 			CREATE TABLE IF NOT EXISTS `{$tableName}` (
 			CREATE TABLE IF NOT EXISTS `{$tableName}` (
 				`primaryKey` int(11) NOT NULL,
 				`primaryKey` int(11) NOT NULL,